Dear all,
How to convert textnode to text with the same rotation angle? [Refer attached screenshot]
Key-in command
DROP COMPLEX
Regards, Jon Summers LA Solutions
Unknown said: Key-in command DROP COMPLEX
I think it's not the solution. I tried it and it seems it doesn't work in my V8 2004 Edition installation, the text placed along an element is not dropped to an independent texts (but it works fine in the current version).
But unfortunately even if it's dropped, the requirement to receive text with the same rotation angle is not fulifilled.
In my opinion it cannot be done easily in V8 2004 Edition, but VBA macro can probably help.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hai Jan,
Can I get a code snippet on this?
What do you see when you apply DROP COMPLEX to that text node?
Unknown said:Can I get a code snippet on this?
You would need to provide the DGN model, rather than a screenshot. Otherwise nobody can tell what you really have there. Also, confirm that you use, and intend to continue using, MicroStation V8 2004 Edition, because it seems that it behaves differently to the current MicroStation V8i.
Hai Jon,
Apply 'DROP COMPLEX' will produce multiple [text]elements. But I need it as a single text element without affecting existing [text]rotation angle. please find the attached sample DGN for your reference.
Here we are using Microstation Version 08.05.01.25 Windows x86.
Unknown said:Please find the attached sample DGN
Thanks for the example — it helps a lot!
Unknown said: I need it as a single text element without affecting existing [text]rotation angle
The text node holds a number of text elements. Each text element stores a single character having a unique orientation. Using DROP COMPLEX creates a set of text elements, each having its own orientation.
I don't see how you could create a single text element without affecting existing rotation angle, because it would be the words caño carate having a single orientation. In other words, which of the individual characters would be the source of the new text element's orientation?
There's no tool that I'm aware of that will take a set of text elements and assemble them into a single text element. You need to follow Jan's suggestion and write a VBA macro.
Dear Jan/Jon,
Thanks for your suggestion. Can I get a code snippet to achieve this?
Hi Dharmarajan,
Unknown said:Can I get a code snippet to achieve this?
As Jon noticed, it's not fully clear how the result should looks like. It would be helpful to not only provide input data example, but also what exact result is expected. I assume it should be one text element where the first letter has the same position and rotation as the source first letter, but I can imagine also other solutions.
Code snippet ... I am sure if anybody already solved such problem in the past, he will share it's knowledge or even the results. I have no such code and despite of it's probably not very complex, it cannot be done in 5 minutes as a short relaxation from normal work, so sorry, I cannot send you it.
With regards,
You cannot fix this with plain microstation ( without vba) but when I examine your file each letter after I dropped the text each letter has different angle of rotation we cannot do this in microstation text unless we use along element or above element placement feature.. but as you discovered it creates a text node
As the rotation angle was so small a difference between I was able to approximate the angle with TWO lines and use the place Text Above for the CANO part as a separate word then CARATE as a second word above the next line this produces just text that looks very close to the right angles also reproduced what you have by create curve an place text above the text it makes a text node as you have ... but as the radius of your original curve is so big I dont think anyone would be able to tell my text 2 words isnt right... only other way is to use a GIS package like mapInfo and use labels not text... but thats not an option for you...in this forum...
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