Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linetype Issues

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
J-Rad2
731 Views, 2 Replies

Linetype Issues

I'm certain I'm just missing something fairly basic, but my custom linetypes are not properly aligning the text within the line. Consistently, the text is aligned to the far left side as opposed to being properly centered. Can someone tell me what I'm doing wrong? These are the linetypes as I've written them:

 

*X-GAS_LINE,Existing Gas Line ---- G ---- G ---- G ----
A,.4,-.16,["G",Existing Linetypes,S=.08,U=0.0,X=-0.16,Y=-.05],-.16

 

*X-Overhead Wire,Existing Overhead Wire ---- OHW ---- OHW ---- OHW ----
A,.5,-.2,["OHW",Existing Linetypes,S=.08,U=0.0,X=-0.16,Y=-.05],-.2

 

*X-SEWER_LINE,Existing Sewer line ---- S ---- S ---- S ----
A,.5,-.2,["S",Existing Linetypes,S=.08,U=0.0,X=-0.16,Y=-.05],-.2

 

*X-WATER_LINE,Existing Water line ---- S ---- S ---- S ----
A,.5,-.2,["W",Existing Linetypes,S=.08,U=0.0,X=-0.16,Y=-.05],-.2

 

And it's appearing as shown in the attachment. Also, please note that the gas line was coded for a smaller gap of -.16, but that doesn't appear to occur when I reload the linetypes.

 

Thanks in advance!

2 REPLIES 2
Message 2 of 3
pendean
in reply to: J-Rad2

You need to experiment, adjust the X setting, it may need to be more than -0.16

 

Explore more about customizing linetypes here http://www.afralisp.net/autocad/tutorials/controlling-complex-linetypes.php

Message 3 of 3
J-Rad2
in reply to: pendean

I think you're right. The -0.16 when reduced to 0.0 ended up being very close to properly centered. Setting the value to a negative half the text width set it to be pretty close to perfect. Thanks for the direction! I was spending all my time fiddling with the outer values to no effect.

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

Post to forums  

Autodesk Design & Make Report

”Boost