Hi community,
What would be your best way to scale a newly created line based on a user input?
I am thinking of creating a small program which let's the user input a *.txt file with coordinates from a point with old and new coordinates, draw a line…
Hi,
I have a frustrating issue where VBA is not reading the reference file offset correctly. I'm working with a bunch of existing drawings and need to know this for inserting some cell's in bulk. Some drawings it works perfectly but not for others.…
We are using CONNECT now, and a user has requested some functionality that existed with the 5.7 edition of MicroStation. The macro was created in 1999 by someone who has since retired. I copied/pasted the macro and attempted to run in CONNECT and received…
I'm looking for a way to QUICKLY check or verify proper Line Style scale values.
Currently, we select all elements of a given level, then go into the Element information tool [ Element Information>Extended>Line Style Parameters>Scale ] to check the…
Hello,
I have problem with creating smartsolid by boolean operation.
After creating element by SmartSolid.SolidUnion it became scaled down 1000 times.
Strange thing is that it happens only if I run function from Microstation Interface (i.e. key…
Hi All,
I'm generating an A1 sheet view of a model and having difficulties setting the scale. After running the below code and open the model in Microstation it is 1:1, not 1:250 as I want it. If I reload the file and inspect the attachment in code…
Hello
I am checking .dgn files with OpenDesignFileForProgram. One of the information i need to drag out is Scale Setting and check if its 1,1,1 or not (just need to read it). It seems I am only allowed to read ActiveSettings.Scale and can not find the…
Hi all
I am looking to create a macro that based on a line selections use the label line function to place a dimension.
So far i have the following;
Option Explicit
Sub AddDistance()
Dim ee As ElementEnumerator
'check for selected elements…