• Export plotted cells into excel (CSV) with coordinates and description/code

    Chris Simonetti
    Chris Simonetti
    Relatively new to this... but if I plot a variety of cells throughout a drawing, I'd like to export those cells into a CSV that contains the cell's northing, easting, elevation and code/desc. This is so that when I open the DGN in Civil3D, I can import…
    • 2 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • End line points and cells

    DAMIEN D'ORAZIO
    DAMIEN D'ORAZIO
    Hi guys, I am working with Microstation Connect version 11.00.04.15 running on a Windows 11 OS and I was wondering if there was a way to built a macro that would place specific cells at end points of lines according the level they are and doing so…
    • 2 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE U17 C++] Create a cell from a zero-length line and past a few copies into the document

    Dart Vader
    Dart Vader
    Hi guys. I have some test code that creates some count of zero-length lines with some size, color and random coordinates: ISessionMgrR sessionMgr = ISessionMgr::GetManager(); DgnModelRefR model = *sessionMgr.GetActiveDgnModelRefP(); DgnPlatform:…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How do I place a cell with updated text in Open Roads Designer using C# WPF Application

    Joshua Durbin
    Joshua Durbin
    Hi all, I am fairly new to C# WPF, especially interacting with and placing cells. I was able to figure out placing my cells, but am unsure how to place them with my updated text (my WPF app adds text into my cells depending on user input) If anyone could…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE 10.17.02.61 C#] Element preview for cell

    Remy Moerland
    Remy Moerland
    Hi, I am trying to get a preview of the cells in a cell library, I am using the following code to (try and) accomplish this: The calling function in my main view model, which searches for the requested cell by name and finds it (correctly) private…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Solid By Extrusion API in Microstation V8i SelectSERIES 2

    Alessandro Politelli
    Alessandro Politelli
    Hello to everyone,I'm currently developing a function that tries to do an extrusion of a MSElement, but unfortunately it seems to be harder than I thought. The API that I tried were mdlKISolid_elementToBody and mdlKISolid_elementToBody2 (the newer one…
    • 5 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE 10.17.00.209 C#] Replace text in cell

    Remy Moerland
    Remy Moerland
    Hi, I am trying to replace certain TextElements that are contained in a cell using a C# addin (without having to drop the cell first) To accomplish this I find the CellHeaderElement in my drawing, numerate through its children and pick out the specific…
    • 7 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect Update 15 c#] Scan for Cellheaders

    Wim - 4Dselect
    Wim - 4Dselect
    Good morning, I am running into some strange behaviour that I can't work out. I am writing an app in C# for Microstation Connect update 15 that scans a file for all placed cells. It's a test for some tooling I need to do. But when executing the…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Cell Placement angle scroll

    Cole DeBolt
    Cole DeBolt
    I used to have a cell placement tool that when i picked a cell, i could right click and it would rotate 90, then 90 again. I can't figure out how to do this in the button assignments. Does anybody know an easy way to do this? or an easy key in that will…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++ MicrostationApi] Problem with changing textelement in cell

    Manuel Höger
    Manuel Höger
    Hello, I am trying to change the Text of a cell with the Microstation C++ Api. The Code I am using is working well on normal Text Elements. But in a Cell the "ReplaceInModel" returns an Error (69645) void TextTool::textChange(EditElementHandleP…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT, v10. 13. 0. 48, VBA] VBA - Error : Duplicate Level Name

    LO-SURV
    LO-SURV
    Hi. As part of my studies, I have to do a work on Unity. To do this, I need to export an OBJ file from Microstation. So far, nothing too complicated. In my Microstation file, I have a multitude of cells that are in two different levels. For the good…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Inserting a left click through VBA

    Leo van der Hoeven
    Leo van der Hoeven
    Hi you all, I'm trying to learn a bit of programming in microstation, but I can't seem to figure this out: I'm reworking a class I use to place cells in a drawing. Basicly the class gets a cell number from a userform, and looks up the cell, and…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C#] How do I make an Annotation Cell?

    Maury
    Maury
    When plotting a cell through the Bentley Cell window, If the cell that has annotation, I can plot that cell by unchecking "Place as Shared Cell" and a "Annotation Cell" element is created. If I plot the same cell with the "Place as Shared Cell" option…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • v8i VBA Replace Cells from Library

    Tom
    Tom
    I wish to create a macro to replace drawing cells from a different cell library. I wish to match color, line weight, orientation and level of the existing "old" cell, place a "new" cell by matching cell name and replace all attributes with default as…
    • Answered
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • VBA Rotate Geopak cell to view (flat)

    Heat
    Heat
    I need a VBA which can rotate a Geopak cell previously placed. The cell is an ellipse with a textnode in the center placed by the Geopak Labeler. When we have multiple files with multiple rotated views, it would be easier to copy tyhe cells and then…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation VBA Batch Cell Replacement

    kevindragonduong
    kevindragonduong
    I have created a program which will go through all my DGN drawings that are in many sub folders in a Master Folder. ( Example: C:/MasterFolder/Subfolder/1234.DGN) My program goes through each element looking for specific cell name and when it does find…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation VBA Raster & Looping

    kevindragonduong
    kevindragonduong
    resolved & deleted
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • ActiveModelReference.GetElementByID(DLongAdd(IDholder, DLongFromLong(1)))

    kevindragonduong
    kevindragonduong
    Hi, I am new to VBA Microstation and i have tried researching what this means but i still don't understand it fully, can someone please explain to a BEGINNER what this line means? i really need to understand this line of code to finish a macro for work…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • VBA MICROSTATION INSERT NEW LINE IN TEXT

    kevindragonduong
    kevindragonduong
    Hi, I am writing a macro for Microstation and i am trying to have multiple lines in a "textbox" or "text element", i have tried researching on how to go about doing this but i have had no luck finding anything. I have tried "\010" and Chr(13) but neither…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Cell preview through userform

    Vinoth Joseph
    Vinoth Joseph
    is there any possibility to select and preview a cell through userform, wth VBA.
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Scroll through named fences in a Design file

    theGreg
    theGreg
    Good day, I was wondering what kind of code I would need to access MicroStation named fences. I have created a program that counts cells in a particular active cell. I have saved a number of named fences in my drawing, and would like to apply…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: MarkCurrentElement

    Thex1138
    Thex1138
    Hmm does not seem to be working... Something I am missing. Am I making the Sub Element current in the proper way or do I do that in a different manner...? Set ee = kmGridEven.GetSubElements Do While ee.MoveNext If ee.Current.IsEllipseElement…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Batch convert cell to compound cell

    pascalkiwi
    pascalkiwi
    Hello, I had to convert a lot of cell to Triforma compound cell. In order to do that, i have done a simple macro All is working pretty well with one exception I am not able to give to the "compound cell name" the name of the "active model…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Using ILocateCommandEvents to select an individual text element from a cell

    afu517
    afu517
    I've created a "TxtSub" tool that allows the user to select a text element, compares that text to a text substitution file, then displays the substitution value as a status message. For the text selection portion of this tool, I am using the ILocateCommandEvents…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Create Cells with VBA

    Thex1138
    Thex1138
    Folks, I am creating a vba macro to create a lot of cells which have various components on and off and somedifferent text I am thinking to create an original Cell in memory and apply a Classto alter the cell components dynamically as the…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • View related content from anywhere
  • More
  • Cancel
>