I was wondering if there was a way to have the option like when drafting in AutoCAD, in the middle of drawing a line you can SHIFT+Right Click and see the menu to choose from. Like if I wanted to draw from mid between 2 points? Can you get MicroStation to do this somehow?
Yes, works very similar to Acad. Shift+rightclick (reset) pops up a view menu, Shift+tentative (middle button, usually) pops up a snaps menu. Many of use Accudraw shortcut keys for particular snaps. You create your own accudraw shortcuts, I use , for snap midpoint.
Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley
Or you can try this old ucm file we use in V8i.
It still works in CONNECT.
I just setup a function key with - uc=C:\Bentley-CE\MicroStation\MdlSys\2pt-snap.ucm
You run this and tentative/date the first point, then tentative/date the second point, and your cursor is now at the midpoint of those points.
.2pt-snap.zip
f.mandoki said:I was curious and just tried this out but MS says the C symbol isn't defined
Try this...
uc=2pt-snap.ucm
Regards, Jon Summers LA Solutions
Well I'm confused as he!!. The OP asked how to get the snap menu while placing an element. Shift+Tentative does this. How did we get off on user commands? I still use a user command, maybe 3 or 4 times a year. Some do require minor editing. But you sure don't need a user command to midpoint snap, in fact most of what's discussed here is usually down with Accudraw. But there are alternates depending on your needs and workflow.
Well...it started by asking where the Tentative menu was, then how to remap that to the Ctrl+RtClick (for AutoCAD compatibility). There was also mention of the Mid Between 2 Points snap in AutoCAD and how Microstation doesn't exactly have that, into how to make that happen with Accudraw, then how to make it happen with a UCM, then on and on...
The train of thought turned into a trainyard, but the OP got what they needed.And we got access to the old UCM syntax (which is nice for reverse engineering and upgrading those old ones lying around).
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
how would you turn that into vba?
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me
I got into the UCM syntax document and broke down in plain words for me what the UCM did; then essentially replicated that logic into VBA. I can probably clean up that code even more (and I would before letting anyone else see it).
Having the UCM guide was a godsend (Thank you!). UCM is a pretty simple language so the programming concepts are pretty simple (in some ways) - but if you don't know what you're looking at, it may as well be heiroglyphics. Ancient and unintelligible.