I was wondering there is a tool that will measure any linear element AND place a piece of text like ATOOL.MA does for areas.
Thank you
look at this old microstation basic- Select linear element with fence inside or selectionagree toyou can take suggestions from this for a new VBA macro
Answer Verified By: JDJATKHA
VERY NICE!
Exacty what I was hoping for! I had to tweek it a little only because I didn't need 2 decimal places but it's good to know that I can take it out more decimal places if I need it.
THANKS blumax57!
Molto bravo bello ... works on closed shapes too for perimeters of circles etc
Garzie
just had to a little google translate on bits for the boys at work who cant read Italian... I can but cant write well enough to publish.... haha great work massimo!
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
Hello there, thanks for sharing.
By the description, it could be what I like to use. May I know how to use this *.bas file? I only know MDL and mbva files. Once less mouse click is a gold mine!
It will depend on your Microstation (etc.) version. CONNECT does not recognize MicroStation Basic any more. The V8i versions have "Macros" on the Utilities menu at the top (if I remember correctly).
You can also use that BAS (text) file to start a VBA macro. While the coding might need to be adjusted, MVBA is surprisingly well documented and the edits may not be too bad.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
You do not need a macro anymore. To measure line length and place it as text and not some fancy dimension element you can create a text field favorite and apply it with place text along command.
Takes a few clicks to reasign field to new element but can be done without macro. Not sure why it is made so complicated but at least it works.