Maybe a newbie question, but how do I automatically get and asign the resolution value to a variable in a Microstation Basic Macro. I know I should be using VBA, but I already have a macro that does most of what I need and I'm not yet skilled in VBA. thanks
What do you mean by 'resolution value'?
Regards, Jon Summers LA Solutions
this is what I mean by resolution.
The Resolution (Scale) value that can be set from the menu as follows:
Settings->DesignFile->Working Units->Advanced->Resoultion
If you're determined to stick with BASIC, then I'm afraid you're out of luck.
With VBA, the ModelReference object has MasterUnit and SubUnit properties that return a MeasurementUnit object. It's that MeasurementUnit object that has the data you want to change. Those objects and methods don't have an equivalent in BASIC.
FWIW, the Scale File/Model for MicroStation V8 VBA macro might provide some helpful insight.
Just curious, what specifically are you looking to do?
Thanks Jon & Phil,
I do need to stick with Basic for now until I have a chance to correctly learn VBA. In answer to Phil's Question,
I work for a drafting contractor and we have a client that does no use annotation scales or text styles, but does uses the resolution setting to scale drawings. I have a macro that sets up their text with Style (none) and various attributes, but I'm missing a way to choose the correct text size. I wish that people would use Textstyles & annotation scale, along with design and sheet models, but until that hppens I'm stuck doing thing the hard way.