Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LINETYPE TEXT UPSIDE DOWN ON CUSTOMIZED LINETYPE

17 REPLIES 17
SOLVED
Reply
Message 1 of 18
jbaldeo
40123 Views, 17 Replies

LINETYPE TEXT UPSIDE DOWN ON CUSTOMIZED LINETYPE

I am trying to draw a linetype using an arc but the text comes out upside down on a convex arc. when drawn concave the text is ok. 

 

 

17 REPLIES 17
Message 2 of 18
Patchy
in reply to: jbaldeo

Try reverse command if you have one.

Message 3 of 18
BrianBenton
in reply to: jbaldeo

You can control the rotation of your text in the custom linetype. See this example:

 

*HOT_WATER_SUPPLY,---- HW ---- HW ---- HW ---- HW ---- HW ----
A,.5,-.1,["HW",STANDARD,S=.1,R=0.0,X=0.0,Y=-.05],-.3

 

 

From AutoCAD help = 

 

rotation
R=value or A=value. R= specifies relative or tangential rotation with respect to the line. A= specifies absolute rotation of the text with respect to the origin; that is, all text has the same rotation regardless of its position relative to the line. The value can be appended with a d for degrees (degrees is the default value), r for radians, or g for grads. If rotation is omitted, 0 relative rotation is used.
Rotation is centered between the baseline and the nominal cap height.

 

If the text in the linetype is in an opposite direction from other lines around it use the command REVERSE to switch the direction of the line. The line won't change just which vertex is set as the start. 

 

You can also make it a polyline and join it to the lines around it making it one large polyline. that will make sure all of the lines have the text the same way.

Brian C. Benton

bbenton@cad-a-blog.com
http://CAD-a-Blog.com
twitter.com/bcbenton
www.facebook.com/CADaBlog


Message 4 of 18
jbaldeo
in reply to: BrianBenton

I tried using the reverse command but its not selecting the arc, it's not recognizing it as an object.

Message 5 of 18
BrianBenton
in reply to: jbaldeo

After some testing it seems the reverse command doesn't work on an arc unless it is a polyline. Make it a polyline and the reverse will work. But yet reverse works on lines. 

Brian C. Benton

bbenton@cad-a-blog.com
http://CAD-a-Blog.com
twitter.com/bcbenton
www.facebook.com/CADaBlog


Message 6 of 18
jbaldeo
in reply to: BrianBenton

yes I did turn it into a polyline and it did reverse, Thanks very much

Message 7 of 18
BrianBenton
in reply to: jbaldeo

Fantastic! Glad I could help out.

Brian C. Benton

bbenton@cad-a-blog.com
http://CAD-a-Blog.com
twitter.com/bcbenton
www.facebook.com/CADaBlog


Message 8 of 18
Kent1Cooper
in reply to: jbaldeo


@jbaldeo wrote:

I tried using the reverse command but its not selecting the arc, it's not recognizing it as an object.


You can do it in one step with ReverseDirection.lsp and its RD command, available here.  It will reverse the direction of several entity types that AutoCAD's Reverse command won't, including Arcs.  [Just for your information, it does reverse an Arc by turning it into a Polyline of a single arc segment running in the other direction.  It spares you the need to do the conversion to a Polyline first, as you need to do to use AutoCAD's Reverse command on it.]

Kent Cooper, AIA
Message 9 of 18
mackland
in reply to: BrianBenton

Do you have a solution for the polyline that is both lines and curves. The line is right-side-up and the curves, depending on the curvature, is both right-side and up-side-down. I need the water lines to stay one continuous polyline. There was a fix for this in 2000i but I haven't found a working solution as of the last 15+ years. I'm thinking the must be a rotation bias that can control this. See picture attached.

Message 10 of 18
Kent1Cooper
in reply to: mackland


@mackland wrote:

Do you have a solution for the polyline that is both lines and curves. The line is right-side-up and the curves, depending on the curvature, is both right-side and up-side-down. I need the water lines to stay one continuous polyline. ....


Whether Linetype Generation is enabled for the Polyline makes the difference in that regard.

Kent Cooper, AIA
Message 11 of 18
BridgeGuy1978
in reply to: mackland

Here's a solution to that problem that one of the guys I work with showed me just last week (Thank you Adam).

in your custom linetype you'll see an "R=0". change the R to a U (see attached screen shot, Capture3.jpg)

 

in the screenshot Capture2.jpg, the lines were drawn in both directions: as lines, plines, arcs that were later joined to lines to create plines and plines that were drawn with straight segments and arcs. as you can see the words within it are all facing the same direction

 

I hope this helps you with you issue

 

Jim

Message 12 of 18
Anonymous
in reply to: BrianBenton

Your suggestion to modify the text rotation in ”acadlt” was great and quickly.

 

Thank you 

Message 13 of 18
Anonymous
in reply to: BridgeGuy1978

Let's say the command is set with a 'U' already, then what? Change it back to an 'R'?

Thanks!

Message 14 of 18
Kent1Cooper
in reply to: Anonymous


@Anonymous wrote:

Let's say the command is set with a 'U' already, then what? Change it back to an 'R'?

Thanks!


I assume you mean the linetype definition includes text content with U-specified rotation [irrespective of any command ].  If so, and not all text elements show in the more-upright direction, is it like the exchange in Posts 9 and 10 here?  Or is your UCS rotated?  If neither of those is the issue, post an image or small sample drawing.

Kent Cooper, AIA
Message 15 of 18
mackland
in reply to: jbaldeo

Back in 1999 I found an old lisp that fixed everything I threw at it including a pline that had reverse compound curves throughout and the letters would flip as needed. No reversing required. It worked the same as the readability bias does in line labels now. It was like magic but it did not work Civil 3d so I abandoned it. If anyone has a copy of it maybe it can be modified to work in newer versions. I look for this solution about every 5 years and still nothing since 2000i.

Message 16 of 18
crispy_bacon2
in reply to: Kent1Cooper

Thank you Kent1Copper.

I am using Civil 3D 2020 and the combination of setting the overall direction correctly (Using the "REVERSEFEATURE" Command) and then setting the "Linetype generation" to "Enabled" has corrected any issues I had with this.

(Note: The Linetype generation is reset to "Disabled" when the REVERSEFEATURE command is used, so it has to be done in the order above.)
Message 17 of 18

Thank you!!!

Message 18 of 18
KB3CAD
in reply to: BridgeGuy1978

This solved my problem with reversed/mirrored linetype text on arcs and circles. Thank you so much. I tried all the reversing tricks, but in the end I need to keep an arc (not polyline) and re-orient the linetype text. I found the .lin file (which was another hurdle) then changed R to U, which apparently keeps the text portion "upright" readability. Relieved!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta