When I change my text in v8i with the „edit text“ I would get my text aligned with my view. But in Powerdraft Connect it will not. Do someone have the answer? Dgn-file in attachment.
text-not aligned with my view.dgn
Hi Sigríður,
There are different options available; e.g. if your view is unrotated then you can select all the text elements, press Element Information, and set the rotation to 0.
However, if you are in a rotated view, that won't align correctly as the rotation is relative to the active coordinate system, not the view.
Instead you can manually align each piece of text like this:
It might seem like a lot of work, but its really quite easy and takes little time to rotate any element to the current view (in the example below, I rotated my view so it didn't match the ACS):
A VBA Macro would be the quickest option (one may already exist) which would achieve the above automatically (but not using the same steps) by rotating around the Text Element's justification point.
You can still use Element Properties to rotate all text at one time. If you have an element (ex. line or text) which is rotated correctly you can ID that element and copy the rotation value. Then select all text that needs rotated open Element Properties and make sure all the text elements are selected in the list then paste the rotation value into the rotation field. All the text will be rotated. You may need to do some cleanup as this rotates the text about the origin/justification point. You don't necessarily need a vba, although it is nice to have.
I believe the text is not being placed properly because there may be an Auxiliary Coordinate System attached to the file. I run into this every so often. Usually I am just placing a few pieces of text so I don't worry about it. But, I remember years ago that there was forum post about the issue and I think it had something to do with an ACS being set active. Not sure as I have not really looked into the issue recently.
Microstation CONNECT - 10.17.2.61
ORD - 2021 R1 10.10.1.3
ORD 2022 R1.1 - 10.11.3.2
ORD 2022 R3 - 10.12.2.4
Microstation v8i SS 10 - 08.11.09.919
Power InRoads v8i - 08.11.09.615
ProjectWise - 10.0.3.453
mwlong said:You can still use Element Properties to rotate all text at one time. If you have an element (ex. line or text) which is rotated correctly you can ID that element and copy the rotation value. Then select all text that needs rotated open Element Properties and make sure all the text elements are selected in the list then paste the rotation value into the rotation field. All the text will be rotated. You may need to do some cleanup as this rotates the text about the origin/justification point. You don't necessarily need a vba, although it is nice to have.
That's true Matthew, but its more work than I would care to do if I can help it. I think this is a much better solution and how I would like to solve the problem (right-click & open in new window to full true size):
Sigríður Brynjólfsdóttir said:Is there not an easier/quicker way to do this? In V8i I graphed the text I wanted to rotate with the Edit text tool and then placed again with the Place text tool. Then it was lined with my view. I rotate my view a lot so this is important to my to be able to do this quick.
What you see above is 500 copies of your TextNode Elements, positioned randomly in an area with random rotation. The Macro I have written allows you to preselect elements(selection set), add to a selection set or you can just choose individual elements with the tool, and then apply the make them align to your active view. In the example, you can see that it doesn't matter what the view rotation is, the elements align perfectly every time. Is this what you are looking for?
Barry Lothian said: The Macro I have written allows you to preselect elements(selection set), add to a selection set or you can just choose individual elements with the tool
Are you willing to share this macro with us Barry?
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
Lorys said:Are you willing to share this macro with us Barry?
It was written for the OP, if she confirms if it's what she was looking for, I'll attach it.
Jon has also written his own Text Rotator which does more than what mine does. Have you tested that?