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!
Solved! Go to Solution.
Solved by pendean. Go to Solution.
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
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.