Polyline text not facing the right direction

Polyline text not facing the right direction

jhodorawis
Community Visitor Community Visitor
545 Views
2 Replies
Message 1 of 3

Polyline text not facing the right direction

jhodorawis
Community Visitor
Community Visitor

I am working on a project that involves adding smoke and fire barrier lines to different enclosed areas, using polylines. these lines have text in it, such as "2FB". I do not want the text to be upside down on the bottom, and I wish for the right side orientation to match the left as well-seen in screen shot 1. I am looing to make it so that horizontal lines always show right side up and vertical lines always face to the left- screen shot 2. Is there a way to accomplish this without the need to explode the polyline, rotate/flip the needed lines and then connect them again? this would save much time. 
thanks 

jhodorawis_0-1722273108887.png

jhodorawis_1-1722273182571.png

 

0 Likes
546 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Message 3 of 3

АлексЮстасу
Advisor
Advisor

Hi, pendean

Thank you! I didn't know could control the display of line types that way.

 

Hi, jhodorawis

You can try the XDLabel and XDTOOLS commands.


XDLABEL_CREATE will create the desired labels on objects if XData with fields with the desired content are attached to the objects. For example - “2FB”.
1. Create XData with fields with the desired content - XDTOOLS_MDEFINE or XDATA from Express Tools.
2. Attach these XData to objects - XDTOOLS_ADD.
3. Create inscriptions for the specified objects - XDLABEL_CREATE. In your case you need parameters ON, MULTIPLE, LENGTHWISE 2D SOUTH-EAST, Relative Rotation - 0 and necessary Delta X from object (along) / Step. Starting displacement can be set. All other inscription parameters can be set, you can select By Sample.
Parameters of inscription creation can be saved to txt for repeated use.


The created inscriptions will be regular Text or MText, Leader, MLeader. But they will be linked to their base objects via XData. And when objects or inscriptions are changed, you can restore their relative position and content - XDLABEL_UPDATE.

 

This method will better place inscriptions on vertical segments than by line type. Interfering inscriptions can be moved, rotated, they can be deleted.
Of course, this method has its own disadvantages and peculiarities.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes