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

    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…
  • End line points and cells

    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…
  • [CE U17 C++] Create a cell from a zero-length line and past a few copies into the document

    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:…
  • How do I place a cell with updated text in Open Roads Designer using C# WPF Application

    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…
  • [CE 10.17.02.61 C#] Element preview for cell

    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…
  • Solid By Extrusion API in Microstation V8i SelectSERIES 2

    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…
  • [CE 10.17.00.209 C#] Replace text in cell

    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…
  • [Connect Update 15 c#] Scan for Cellheaders

    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…
  • Cell Placement angle scroll

    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…
  • [Connect C++ MicrostationApi] Problem with changing textelement in cell

    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…
  • [CONNECT, v10. 13. 0. 48, VBA] VBA - Error : Duplicate Level Name

    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…
  • Inserting a left click through VBA

    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…
  • [Connect C#] How do I make an Annotation Cell?

    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…
  • v8i VBA Replace Cells from Library

    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…
  • VBA Rotate Geopak cell to view (flat)

    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…
  • Microstation VBA Batch Cell Replacement

    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…
  • Microstation VBA Raster & Looping

    resolved & deleted
  • ActiveModelReference.GetElementByID(DLongAdd(IDholder, DLongFromLong(1)))

    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…
  • VBA MICROSTATION INSERT NEW LINE IN TEXT

    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…
  • Cell preview through userform

    is there any possibility to select and preview a cell through userform, wth VBA.
  • Scroll through named fences in a Design file

    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…