I just recently started using Microstation 2004 for a new job. I've been trying to find a reliable way to reliably rotate the selected element by set increments using a Macro. For example using F1 would rotate the selected element 1 degree to the left and F2 would rotate it 1 degree to the right. Normally I can figure this kind of thing out for myself but I've had difficulty finding the right documentation. If anyone can point me in the right direction for how to accomplish this or a resource that can effectively explain how to learn to do this I'd be very grateful.Thank you
Tristan Jonas said:I've been trying to find a reliable way to reliably rotate the selected element by set increments using a Macro
As Jan advises, prefer VBA to BASIC. Here's some information about MicroStation development languages.
Here's an example text rotation tool written in VBA. Source code is included. You can adapt the code for other DGN element types. You can adapt the code to rotate-by-increment.
Tristan Jonas said:apparently nothing in v8 has a ClassNN
What does that mean?
Regards, Jon Summers LA Solutions
Sorry that's a AHK term, it basically means none of the tool windows in MicroStation V8 have their own "secret" name that's just for the computer to understand the way most modern programs do. It makes it easy to say "look at this text box at this window and return it's value" or "activate this tool within this window" which is how I would usually approach a situation like this when the tech is so old, but can't this time.
Tristan Jonas said:that's a AHK term
Is that Alfred H Knight in Perth?