• [MVBA, MicroStation V8i (SELECTseries 4) - Version 08.11.09.829 Windows x86] Selected text to the value of the specified tag

    Hi all, I am new to MicroStation programming and need assistance with a specific task. I want to retrieve a text element from a provided point and use its value as a tag value. I have included the code that I have prepared, but it is generating a "Compile…
  • read text at specific location in dgn file

    Using Microstation VBA, I am trying to read text at specific location. I have text placed in specific locations in dgn file that I now need to read. I do not want to read text at other locations. I defined a variable "dTxtLoc" as double and assigned a…
  • c#, Problem placing fence on view/model

    Hi, I can not figure out how to place a fence in C# on another model. This is with Bentley Map 08.11.09.864 The process is : 1) Read the current fence information 2) Switch to another model 3) Place the fence in this model - same place as it was…
  • Facing an error in microstation v8i selectseries4 while defining actor path for animating a man model to a defined path.

    I am using microstation v8i ss4. I have created keyframes for animating (making the man model walk). After setting the keyframes, when I am defining the Actor path and orientation it is showing the following error. Can anybody help me out?
  • Text Background BorderMargins.X and BorderMargins.Y not responding to macro

    I have a very simple macro below that appears to be correct but for some reason the BorderMargins.X and .Y values do not change when the macro is run. Why is that? Sub Macro1() Dim otext As TextStyle Set otext = ActiveSettings.TextStyle otext.BorderColor…
  • Hilite Key-in and VBA Stopped workiing

    Micristation took a crash after which my Key-in scripts for setting the design file color quit working, both the VBA and Key-in's I think it is an MDL file needs loading but unable to figure it out. Examples of what did work: 1:25 PM 10/7/2018 Hili…
  • Tittle Block Modification

    I have many DGN drawings. I want update tittle block on each drawing to edit on text according to excel file.
  • Get Element Angle Tool

    Is there a tool which works in Microstation Connect which rotates elements to specific angles? I had one for V8i but it won't load into Connect.
  • Help writing MVBA to drop status on cells in dgn

    All, I am using the below macro code to drop complex on cells in my dgn file. After running nothing is changed except the color of the cell. New to this object model and just hacking my way through. Any direction is greatly appreciated. regards…
  • 【C# mstn V8i Addin 】Get the user's Toggle AccuDraw coordinate system. And then change the three-dimensional perspective of my painting CellElement.

    I want to get the user's Toggle AccuDraw coordinate system ( Toggle AccuDraw coordinate system through the shortcut keys such as T, F, V, S, etc. is not the ACS auxiliary coordinate system), change the Toggle AccuDraw coordinate system, and then change…
  • [Microstation V8i Select series 4] mdlKISolid_faceData()

    Hi All, I am trying to use the below MDL API to get the data from a face. I have got this face with a smart solid using the API mdlKISolid_getFaceList(). I use C++ language. mdlKISolid_faceData( KILOOP** loop , KIFACE** next , void** surfacePP …
  • Entering Multiple Lines Using Notepad

    Hello, I currently am able to find and replace text using the following code in Notepad, utilizing the batch process command in utilities, version V8i: MDL SILENTLOAD FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXT FIND DIALOG SEARCHSTRING OLD TEXT HERE…
  • level override colors off

    Win 7 V8i, I have searched found the following but do not seem to understand ActiveDesignFile.levels("Kerb Invert").UsingOverrideColor=False And make sure you update the design file with: ActiveDesignFile.RewriteLevels Same thing with .UsingOverrideLineStyle…
  • using a mvba command directly in a Key-in command

    I found the mvba command for opening the Element Information (CadInputQueue.SendCommand "MDL KEYIN ELEMENTINFO ELEMENT INFO DIALOG") would like to have key-in do this for me or somehow use the activate it via the vba command like this (vba execute ActiveSettings…
  • [v8i SelectSeries 4] Convert to BsplineCurveElement

    Hi all, I'm new to microstation VBA coding and would like everyones input on my problem. My VBA code in Excel does the following 1. Opens and creates a microstation DGN file named "DrawPoints" 2. Iterates through coordinate values in excel sheet and…
  • Adding an element to a named group that is in an attachment, Error Number -2147219301, Error Description: Far reference

    I am trying to write what I thought was a simple program to add elements to a named group if they meet the criteria I designated. However when I go to add an element that is in an attachment to a named group I get an error (Error Number -2147219301, Error…
  • Edit Dimension Element

    Dear All, I want to stretch the existing linear dimension element between two points. How to accomplish this by using C#? For line element, we have 'modify vertex' method. Similarly, is there any inbuilt method/option is available to modify linear…
  • Key-in for Element Selection or Powerselector

    I use a Key-in in script file when it runs the element selection tool (powersel) is gone so I have to reload. In the VBA routines you can have it reloaded automatically SCRIPT: set weight toggle selview all update all Works fine, but have to reload…
  • Can we build a Microstation Application(C++, dll)just with Visual studio, just as we develop a general dll?

    Hi Experts, I am new to Microstation Application(C++) development, and i have no experience about the make file configuration, and would like to write, compile and link code with just Visual studio, so my question is whether we can avoid to use Miscrostation…
  • Does we have the same level of api access(access Bentley DGN files with full fidelity) when develop extension on top of Microstation with a C# addin and a MDL application.

    Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL development environment( especially about the make file…
  • How to attach a MSLink to an Element

    Hi Everyone, I am trying to write an MDL in C/C++ that should attach Meta-Data to Elements in an external MDB-Database. I wrote already Code to make sure that the correct Database (DB) is attached, but now I have Problems how to attach the created…
  • [MICROSTATION V8i SQLITE ODBC]

    I 'm trying to connect MicroStation to SQLITE by ODBC, but MicroStation don't see the table Thanks
  • Metadata

    This may be the wrong group but I figured you guys would know the answer. My office is involved in some litigation over an old project. The Lawyers are asking us to give them the "metadata" for the project in question... Is it even possible to export…
  • VBA does not recognize reference logical name change unless file is closed and reopened

    I have a vba that attaches a reference with a logical name as "BORDER". The reference dialog box shows the attached reference with logical name as "BORDER". I will then run a second vba that looks for reference logical name as "BORDER". The second vba…
  • RE: Custom Linestyles won't resymbolize if they are in a reference file

    Hi Jan/Jon, Thanks for the responses, I should have been more clear originally, but here is more information. I'm having some difficulty with the quoting, so I hope this comes across formatted ok. I recommend to read and follow MicroStation Programming…