Jump to content

How to change text in a linetype


Recommended Posts

I'm drawing up a landscape plan at work and would like to edit the text in some of these linetypes.

No idea how to really explain it properly, but hoping the attached image should explain what i'm looking for.

I tried googling it, but couldnt come up with the correct phrase to explain what I was searching for.

If anybody could link me to a page that explains it that would be greatly appreciated :)

lines.jpg

Link to comment
Share on other sites

Please check the function LT_THF from this page; it will print on screen the definition of current linetype. Copy that into an ASCII (text) file with LIN extension and adjust it to suit your needs. Call the LTYPE command to load the new definition into current drawing.

Link to comment
Share on other sites

Please check the function LT_THF from this page; it will print on screen the definition of current linetype. Copy that into an ASCII (text) file with LIN extension and adjust it to suit your needs. Call the LTYPE command to load the new definition into current drawing.

 

The LISPs linked by rkmcswain in the last post in your link work also.

Link to comment
Share on other sites

I have located the acad.lin and acadiso.lin file and can edit them both.

I'm just not sure how to add a new linetype e.g. --- ME --- ME ---

Link to comment
Share on other sites

Use one of the tools from the page I suggested above and copy that definition to a LIN file; adjust it to suit your needs (there is information in help on definition's syntax).

I suggest you to don't add your custom linetype definitions to acad.lin or acadiso.lin since those were system files and may lost them at a certain point (i.e. when un-install AutoCAD).

Link to comment
Share on other sites

MeMeMeLine.jpg

It was already suggested that you borrow and edit an existing linetype and use it as the basis for your new, custom linetype. See example above? That was based on the Gas_Line linetype that comes standard with AutoCAD.

 

This is what the linetype definition file looks like.

 

*ME_LINE,ME line ----ME----ME----ME----ME----ME----ME--

A,.5,-.2,["ME",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25

 

Now I have no idea what units you're working in or whether or not the line length and spacing suits your needs but it would be easy to tweak the above definition file to make it suit your needs. Now it's your turn. Go. Do. Have fun.

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