Hi,
Something that has bugged me for years with the copy & increment text is that you can only use the command in a verb-noun mode, not in a noun-verb mode. Here's my regular situation... I have a detail sheet with a grid of lines. A certain distance from each intersection of the grid, I have a detail number. Of course the detail numbers are each incremented by one. So if I used a standard copy element command, I would select my text element, hit the copy element icon, pick my grid intersection as my "from" location, and then pick my next grid intersection as my "to" location. (Select element first, then select tool to use with that element--noun-verb). With the Copy & Increment Text tool, I can not select my element first. So if I want to use it, I have to zoom way out, so that when I snap to my grid intersection, the detail number is in the locate circle and then I can zoom back in to place my copies. Why can't the Copy & Increment Text tool work in both verb-noun, and noun-verb modes?
--Thanks,--Robert
P.S. I've also see forums asking for a "number of copies" option. This would be useful on occasion.
This is from 2011. You should be starting a new post and referring to this thread.
Microstation CONNECT 10.17.00.209
ORD CONNECT 2021 R1 10.10.1.3
Microstation v8i SS 10 08.11.09.919
Power InRoads v8i 08.11.09.615
ProjectWise 10.0.3.453
Hi all,
I can see that most of the post are from before Connect. Is there a new tool the increment letters now and not only numbers?
Or a VBA still the only solution?
Thank you,
Marina
Unknown said:I've got one more question to You - how to maintain trailing zero, now when I increment by 0.1 after 459.9 the result is 460
Try the modified Text Increment tool. It attempts to preserve the number of decimals in the incremented text.
Regards, Jon Summers LA Solutions
Jon,
Thank You for your macro, it helps me with my work.
I've got one more qustion to You - how to maintain trailing zero, now when I increment by 0.1 after 459.9 the result is 460 not 460.0 - can you tell where in the code I should do some changes?
To others:
My workflow to annotate chainage:
1. Create complex chain
2. Annotate first point eg. 459.0
3. Array text (not text node) along path by distance for first km
4. Run LA Solutions's TextIncrementor macro by key-in:
vba run [textincrementor]modmain.main .1 .1 - is my increment for hektometers
5. Select text to increment
6. Copy or array first km 459.0 ...459.9 to next kilometers
7. Run again LA Solutions's TextIncrementor macro by key-in:
vba run [textincrementor]modmain.main 1 1 - is my increment for kilometers
8. Select text to increment kilometers
Done ;-)
Regards, Marek
Marek Gaworski
Railway design engineer
SKANSKA Poland
Bentley MX v8.11.9.397
Unknown said:I need to annotate some 100 meteres points by chainage in fomat 000.0
Try the Text Increment tool that we wrote. It will accept a decimal value for increments.
This is just an incrementor — it doesn't do copy-and-increment. But since the source code is included in the VBA project, you can modify it to do what you want.