Jump to content

Recommended Posts

Posted

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.

Linetype.JPG

Posted

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.

Posted
*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

 

Posted

or

*STORM_WATER_RIGHT,SW_RIGHT
A,1,-.09,["SW \U+25BA",Standard,y=-.1,s=.2],-.10,1

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...