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,