Jump to content

Create custom Line type - upside


GISdude

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
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
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...