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.
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
Massimo Callegher said:you can take suggestions from this for a new VBA macro
Here's a 21st century VBA line labeller.
It's freeware and should work with both MicroStation CONNECT and MicroStation V8i.
Oto said:Could it honor segment orientation also?
Your wish is granted...
What's more, it labels shapes as well...
Brian V said:May I suggest enhancing this tool even more by placing the text on whatever rotated view is on?
The updated macro lets you place the label unrotated, rotated to match the element or rotated by view.
Regards, Jon Summers LA Solutions
Great. Could it honor segment orientation also?
Please explain 'segment orientation'. Keep in mind that this is freeware, and the revenue from freeware doesn't fund product development.
The VBA project is supplied with full source code. You are at liberty to copy and modify it to your requirements.
aligned to segment. Like place text above/below tool.
Jon Summers said:Keep in mind that this is freeware, and the revenue from freeware doesn't fund product development.
Directly no but indirectly yes as it links to your page and services.
This is gold! Appreciate it Jon! Speaking of VBA, is there a link for newbies to learn from?
There is a dedicated Programming forum, including VBA assistance. There are also a couple of courses on the Bentley Learn Server.
Jon's LA Solutions website is a treasure trove of articles and examples.
The Wiki page for VBA programming also has quite a few examples.
And unlike a lot of programming documentation, the MVBA Help file is fairly verbose, with reasonable descriptions and examples.I believe it will be found in the program root directory - look for MicrostationVBA.chmFor example, in my OpenRoads Designer, I find that file in C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\In my MicroStation SS10, I find the file in C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation
Microstation 08.11.09.919Power GeoPak 08.11.09.918Power InRoads 08.11.09.918