Browse By Tags

  • Procedure to search the value from the Excel in a Microstation files

    Hi all, Should I create a macro or procedure to search the value from the Excel file in a Microstation files. I have a value (text or number) written to Excel I want to create a link that searches the value (text or numbers) on the dgn file. Thank…
  • How to handle the pipe ('|') character

    Right now I am utilizing the CadInputQueue.SendCommand() method to send custom commands to the ActiveDocument. There are some commands which contain the pipe character ('|') within them. [For example: "append|macro daoff"] The entire command is generated…
  • MicroStation Wiki

    MicroStation MicroStation PowerDraft Bentley View MicroStation 2023 FAQ MicroStation CONNECT Edition [FAQ] MicroStation PowerDraft CONNECT Edition [FAQ] Bentley View [FAQ] Microstation [FAQ] MicroStation PowerDraft V8 2004…
  • Keyin to load the VBA Project Manager in MicroStation Connect

    Product(s): MicroStation Version(s): 10.02.00.39 Environment: N\A Area: Programming Subarea: VBA Problem Keyin to load the VBA Project Manager in MicroStation Connect Solution…
  • Automation Error with TAG.Value when reading from Excel

    I am writing an application to read MS tags from excel, something I have done many many times over the years but I get the following error message when obtaining the value of the tag - Run-time error '-2147417847(80010108) Automation error, The object…
  • Rewrite Logical references in Projectwise. How to sync that into the DGN:s afterwards?

    Hello there. I am migrating documents from one datasource to another using the Projectwise API. Some of the documents are logical sets containing references to other documents. Thiese relations can be viewed on the Dependency Service-tab. I start…
  • how do i change line scale dynamically using Bentley API?

    could any one let me know how do i change line scale dynamically using Bentley API with a example program?
  • Move attached Raster to a point in Bentley Map Keyin

    Hi All, I want to move a raster file to a point , which is attached via Raster Manager in Bentley Map. [Enterprise V8i] I am looking for any Keyins available for the same use. if not any source code also ok. :) Thanks for the help in advance! …
  • RE: [CONNECT] How to Stop Autoload of MDL apps

    Hi Loren, Maybe it is a good idea to post this in the MicroStation programming forums communities.bentley.com/.../microstation_programming Also review this link communities.bentley.com/.../running-mdl-applications MicroStation initialization. MicroStation…
  • DIALOG REFERENCE OPEN

    Simple Startup VBA (from Geospatial Paradigm Solutions, Inc. Autorun.mvba - modified slightly) I added the Startup keyin command to open the REFERENCE dialog (among others). However, once open, the dialog will not respond to changes from SHEET to…
  • MSTN Connect - Crash when I put a resource-only DLL containing toolbox icons into MdlApps/Icons folder

    Hello, It looks like I've been able to get my software running on MSTN Connect (10.0.0.25) but I'm having problems with the Icon Resources for the toolbars. In all previous versions (XM, 8i), we define the toolbars using the MA compiler, and we…
  • [CONNECT] - Code for adding a *.CSV file to MicroStation CONNECT

    Hello, I'm making a program in VBA for MicroStation CONNECT that create a *.CSV file with parameters that later are implemented in a model. Now I successfully have created and run the program with the information and then imported manually. The Model…
  • [CONNECT C#] Creating a TransientElementContainer crashes MicroStation.

    Hello! I've run into a snag with transient elements. When creating a new transient element container via the "CreateTransientElementContainer1" method, MicroStation crashes and prompts with the Bentley "MicroStation stopped working" dialog. This problem…
  • [V8i MDL] Every second row is black for large images

    Hello, I have a problem that every second row of PNG file is black (RGB 0, 0 ,0). It is generated using these MDL commands: int g_colorMode = COLORMODE_RGB; int g_tileCols = 0; int g_tileRows = 0; int g_fileFormat = IMAGEFILE_PNG; int g_Compression…
  • text being crossed by elements

    I am just looking for a feasibility-type answer. I have a user asking if it is possible to write an app that would scan each body of text in a file and place a marker of some sort if the text is being crossed (either under or over) by another element…
  • Where are my newly created BMRs Stored?

    Product(s): MicroStation Version(s): 10.00.00.25 Environment: N\A Area: Programming Subarea: Macro Recorder Question Where are my newly created BMRs Stored? Answer Newly created macros…
  • Run BMR when opening files

    Product(s): MicroStation Version(s): 10.00.00.25 Environment: N\A Area: Programming Subarea: Macro Recorder Question How to run BMRs when opening files?. Answer Unlike macros link , BMRs…
  • BMR files cannot be viewed in a Text Editor

    Product(s): MicroStation Version(s): 10.00.00.25 Environment: N\A Area: Programming Subarea: Macro Recorder Question Can BMR files be viewed in a Text Editor?. Answer BMR files…
  • How to read the RGB values of the Attached Color Table

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original Author: Tristan Anderson…
  • Using a VBA Macro

    Product: MicroStation Version: V8i, CONNECT Environment: N\A Area: Programming Subarea: VBA Background Information How do I use a macro that I was sent? How do I integrate a sent file "Example…
  • VBA - Interface Error: 0x80040502

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original…
  • Using the VBA object PropertyHandler to change the Element Information

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original Author: Tristan Anderson…
  • VBA Error in Execution: Project or Library Not Found

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original…
  • Avoiding Inaccuracies in VBA Methods - .FacetSolidAsShapes for SmartSolids

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original Author: Tristan Anderson…
  • Browsing References for Specific Items

    Applies To Product(s): MicroStation Version(s): 08.11.09.578 Environment: Windows 7 32 bit,Windows 7 64 bit Area: Programming Subarea: VBA Original Author: Tristan Anderson…