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

    resolved & deleted
  • Re: MarkCurrentElement

    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…
  • Using ILocateCommandEvents to select an individual text element from a cell

    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…
  • Create Cells with VBA

    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…
  • Re: MarkCurrentElement

    If you use GetMarkerFromCurrentElement after the assignment, can you see your marker value? After cycling through the Cell Element components you can return the value if it has been assigned by; lngReturnMarker& = kmGridEven.GetMarkerFromCurrentElement…
  • Re: Replace Cells

    Ok, so I created my own VBA way to update a cell (providing it has the same name). This works great when working within the ProjectWise file system. As the attributes get repopulated with stored information in ProjectWise as part of the VBA. What…
  • Creating repeated Cells with VBA

    Folks, I am mashing up a VBA macro to place a grid. A simple macro, nothing too difficult.. I have put together the code in such a way that each grid marker set of crosses and circles is created for each instance of the grid position.. or…