grifflee Posted March 1, 2019 Posted March 1, 2019 Hi all I'm looking for help concerning custom linetypes containing Shapes and Text. I have created a linetype which is made up of text and a shape. The linetype seems to work perfectly fine when drawing as a straight line. The problem occurs when the line goes back on itself or if it is used when drawing a circle. I've attached an image as it's easier than trying to explain it. I have also attached the linetype text. *STORM_WATER_RIGHT,SW_RIGHT A,2,-.09,["SW",Standard,y=-.1,s=.2,u=0],-.81,[FDRIGHT,C:\Users\User\Documents\CAD Details\Linetypes\FLOW DIRECTION RIGHT,s=1],-.10 As you can see in the image the text and shape at the base of the circle is fine, it's at the top of the circle where the text seems to have shifted. Any help would be greatly appreciated. Quote
eldon Posted March 1, 2019 Posted March 1, 2019 Although I cannot test with my ancient version of AutoCAD, my suspicions would be the 'u' factor in your text definition is causing this behaviour. This ensures that the text is always upright, which is exactly what is showing in your picture. However, the shape does not have this 'u' factor. I would try adding it in to the shape part of the definition and see what happens. Quote
SLW210 Posted March 4, 2019 Posted March 4, 2019 I have moved your thread to The CUI, Hatches, Linetypes, Scripts & Macros Forum. Quote
tombu Posted March 5, 2019 Posted March 5, 2019 *STORM_WATER_RIGHT,SW_RIGHT A,1,-.09,["SW =>",Standard,y=-.1,s=.2],-.10,1 or *STORM_WATER_RIGHT,SW_RIGHT A,1,-.1,["SW",Standard,y=-.1,s=.2],-.81,[FDRIGHT,C:\Users\User\Documents\CAD Details\Linetypes\FLOW DIRECTION RIGHT,s=1],-.1,1 Quote
tombu Posted March 5, 2019 Posted March 5, 2019 or *STORM_WATER_RIGHT,SW_RIGHT A,1,-.09,["SW \U+25BA",Standard,y=-.1,s=.2],-.10,1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.