Jump to content
GISdude

Create custom Line type - upside

Recommended Posts

GISdude

Hi all,

I'm trying to create a custom line type for our in house folks. I'm trying to make a line type to look like so, "---2 SRV4" ---". For informations' sake, the 2 is the number of conduits, and the 4" is the diameter size of the proposed conduits. 

I've attached a screen shot of the resulting product - and it's upside down. I dunno why it would do that - other than operator error.

I attached the .lin file as well.

Thanks

Conduit Line Types.PNG

acad.lin

Share this post


Link to post
Share on other sites
tombu

For inch use either %%34 or \U+0022

Change 

["4-S4'' ",Standard,s=0.1,r=0,x=-0.145,y=-0.05],-0.25

to

["4-S4%%34 ",Standard,s=0.1,r=0,x=-0.145,y=-0.05],-0.25

or

["4-S4\U+0022 ",Standard,s=0.1,r=0,x=-0.145,y=-0.05],-0.25

though I'd remove the space at the end of the text and adjust the x value.

Share this post


Link to post
Share on other sites
eldon

It matters to AutoCAD in which direction a line is drawn, and in your picture the line with the upside-down writing has been drawn from right to left.

 

However don't despair, there are now ways of coping with it. In your linetype definition, you should include the factor U=0. This is the upright factor which was included since version 2011.

Share this post


Link to post
Share on other sites
eldon

If you look at the complex linetypes with letters, supplied in your posted acad.lin  (Hot Water Supply and Gas Line) you will see the U factor has been added already.

 

Be warned that all text fonts are not the same sized characters, so when you make a text feature in a complex linetype, your x, y and s factors might need to be tweaked for different fonts.

  • Like 2

Share this post


Link to post
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...