Ive been trying to do this for ages an it was driving me nuts... too many steps with accudraw to go wrong, found a few clues in old posts and filled in the blanks
keyin ROTATE VIEW ELEMENT; %d;%d;ACTIVE ANGLE PT2
( THE ABOVE COULD BE SET TO AN F KY IF YOU USE IT ALOT)
You'll be prompted t select an element ( text or line or shape) to set the view rotation
Then you'll need to Tentatative twice on the reference line element ( the one you want to rotate to) one end first and then the other end last
now you active angle is the angle of the reference line
next we click on the rotate icon and it has the new angle set, so now click on the text or element you want rotated
now key in vi=top to return the view ot original state and our text or line as adopted the angle of the reference element line...
I tried to make another keyin
rotate icon;%d;vi=top
but it works like this select the text to rotate, data point in the view and reset button mouse. then it rotates the text to right angle and sets view back to normal but doesnt
work if you use your mouse buttons in any other order it fails to do what you want cant work out why but works.. other wise the rotate bit can view top can just be done by hand or icons etc
Autocad has all this much easier R for rotate and option is reference so r and two clicks and done...
I wish we had a simple tool or macro with two clicks...
You are not using the Element Info dialog to get the angle of the element and using that value for the text rotation?
Personally I like using Accudraw to accomplish this task. There are few steps to it but I use Accudraw and a Fkey combination.
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
ActiveAngleAssistant.zip
Here is a macro that I've collected over the years that will rotate text and text nodes and cells to the active angle, or an element angle. It has a couple of other functions that might be useful.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
I have that same macro and I was going to mention it, but I found that it did not seem very reliable. I have not used it in a long time. If I remember correctly you cannot get the active angle from a specific segment of a chained line.
I also use the Place Text Along Element occasionally. Only if I am in a hurry to get some text rotated to an element. I found that with v8i there seems to be some type of bug with this method. When you place the text using the "Along Element" setting then try to edit the text later, the text jumps off into space.
To me, the most reliable and consistent method is to use Accudraw.
Thanks MaryB for this macro. It can also be downloaded from this old AskInga Article that also has details about how it operates.
https://communities.bentley.com/communities/other_communities/askinga/w/askinga/3313/active-angle-assistant-macro
RegardsAndrew BellTechnical SupportBentley Systems