• VBA and Feature Solids

    I am using MicroStation CE Update 9 and writing VBA code to get level and colour information from cells placed on the drawing. This code works well until it encounters a feature solid as part of the cell. The element.type is reported as type 2 (CellHeader…
  • [V8i VBA] VBA code no longer works after referencing a file

    Hello I have a VBA code that works without problems as long as I do not reference the DGN file. However, as soon as I refer this file the code no longer works. Even if I delete the reference again. The VBA code then no longer works in both files. I…
  • dgnlib: DGNCreateCellHeaderFromGroup for 3D support

    Hello I'm using dgnlib and until now, all ok. When I use DGNCreateCellHeaderFromGroup ( hNewDGN, name.c_str(), 1, NULL, 1, psMembers, &asOrigin + 0, 1.0, 1.0, 45.0 ) in 2D DGN, all OK, but when I try to write on 3D DGN I have cell header scale…
  • 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…
  • VBA Microstation Folder Search

    i currently have this code in one of the macros for work. It is located under a button for browsing which folder to look into, and it will get the .DGNs and add them to a listbox. I don't quite understand the code fully and was hoping someone can give…