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…
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…
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…
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…
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…
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…
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…