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'm not going to attempt to repair MicroStation
I am not sure whether you know, but to use ustation.exe /regserver is far from "repairing", how this term is used for restarting/repeating installation and verification whether everything is fine (which is extensive task).
It is 2 seconds task, and the only requirement is to start DOS shell as administrator (even when sometimes it can be used even without it).
Tristan Jonas said:I'm only asking questions and trying to get help.
I think the answers, posted here, are all the same: Use VBA, because "ready to be used" macros exist and it is supported technology. When you decided to even not try anything how to fix VBA, you remain alone with obsolete, not supported tool, that nobody have used for many years, so it is hard to discuss it and receive answer, because probably only a few people have "active knowledge" of it.
Even on this web there is close to zero information about MicroStation BASIC, because the web itself was established after BASIC for marked as obsolete.
So, without VBA, I do not recall anything I can recommend as solution.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Ok, I'm taking your advice and making an effort in earnest to get VBA to work properly. I tried a few different things but so far nothing seems to work:
Across the board, no dice. Idk if it helps but I'm getting an error that says "VBA interface error: failed creating the APC project - 0x80040154"
Tristan Jonas said:I'm taking your advice and making an effort in earnest to get VBA to work properly
Installing VBA requires Windows administrator privilege, because it modifies the Windows Registry. That MicroStation VBA is not working indicates that it was not installed correctly: I recall that in the days of MicroStation 2004 Edition there was a Prerequisites installation, which I think took care of VBA and other Microsoft stuff. Who has those installation CDs?
Tristan Jonas said:I cannot reinstall the prerequisite pack because I don't have the credentials/authority
If you can't do your job because the software isn't installed correctly, then it's in your employer's interest to remedy that. Ask your manager to invite your IT department to help.
Regards, Jon Summers LA Solutions
Answer Verified By: Tristan Jonas
Yeah that's what I ended up doing and they've offered to work on a solution. Oh well, I tried to do it without involving them but it looks like this issue is bigger than me. Thank you for your answer, I'll mark it as the solution.
I actually managed to get it to work by using input commands like "rotate icon" and stringing them into BASIC. Please exercise more patience when dealing with new users, I'm doing my best here with the cards I'm dealt and saying that I "decided to even not try anything how to fix VBA" is untrue, I know it's hard to not get frustrated with the technical obstructions in place but working with MicroStation 2004 in the year 2022 is not my choice and not a good reason to get frustrated with me. please recognize that sometimes creative solutions are what's needed :)