Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modifying linetypes

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
Anonymous
908 Views, 11 Replies

Modifying linetypes

Can linetypes be modified directly through Autocad without using Notepad ?? I have asked because modifying linetypes in notepad is tough.

 

 

Labels (3)
11 REPLIES 11
Message 2 of 12
Valentin-WSP
in reply to: Anonymous

@Anonymous ,

 

As you know, linetypes are based on a *.lin file, and can be modified in a text editor that saves in ASCII format (for example, Notepad on Windows or TextEdit on Mac OS).

 

It is the recommended program when creating complex linetypes.



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 3 of 12
pendean
in reply to: Anonymous

MKLTYPE command (if you remembered to install Express Tools) might be an option: look it up in HELP to understand usage and limitations.
Message 4 of 12
Patchy
in reply to: Anonymous

You cannot modify any linetype definition when using Autocad.

 

(You can with Acad.pgp )

Why do you think modifying linetypes in notepad is tough?

You need to Google how .lin work, then it won't be.

Message 5 of 12
Anonymous
in reply to: pendean

Can linetypes be edited using autocad tools ? If yes, how? If no, its ok

Message 6 of 12
Anonymous
in reply to: Patchy

linetypes is created using autocad tools but it can only be edited in notepad .....Right ??

Message 7 of 12
Patchy
in reply to: Anonymous

linetypes is created using autocad tools?

if you use MKLTYPE

can only be edited in notepad?

Yes, notepad or word.

 

 

Message 8 of 12
Kent1Cooper
in reply to: Patchy


@Patchy wrote:

....

can only be edited in notepad?

Yes, notepad or word.


Do NOT use a word processor such as MS Word.  Use a plain text editor [Notepad is common because it comes on computers, but there are others].

 

The main problem with word processors is that they can introduce specialized characters that will cause problems in linetype or Hatch pattern definitions or AutoLisp code.  Probably the most likely are "smart" quotation marks.  In a linetype definition with embedded text, the text content goes between double-quotes, for example:

 

*HW,-------- HW -------- HW -------- HW -------- HW

A,6.0,-.1,["HW",ROMANS,S=.3,U=0.0,X=0.0,Y=-.15],-.75

 

If you were to write a definition like that in MS Word, the quotes around HW [which I just copied out of Word and pasted in here] would become "smart" in that they know one is an open-quote [like little 6's] and the other is a close-quote [like little 9's].  Or depending on the font, the difference can be of a different nature, e.g. HW.  Those are different characters that will not function correctly where "plain" quotation marks are required.

 

You can also have hyphens turned into various kinds of specialized dash characters that will cause similar problems.

 

Yes, it's possible to have Word save to plain text, but people forget easily.  Several times things like non-functioning linetype definitions that people brought to this or the Customization Forum have had exactly this problem.

Kent Cooper, AIA
Message 9 of 12
Patchy
in reply to: Kent1Cooper

You mean the 😀 sometimes shows in the .lsp ?

Message 10 of 12
pendean
in reply to: Anonymous

@sagrkarn199454 What is your real challenge here please? Sadly there is no push-button pop-up options list to creating or editing linetypes. Let us know what linetype you are trying to modify and how, someone can help you and explain the process too.

 

Yes, there is a learning curve, but it's not difficult to master.

Message 11 of 12
Kent1Cooper
in reply to: Patchy


@Patchy wrote:

You mean the 😀 sometimes shows in the .lsp ?


Yes, well, that happens here even though this website doesn't do the smart-quotes conversion, and I've complained several times to say that technical Forums like these don't need emoji capability.  You were once able to turn them off when you're signed in, but that option is no longer offered.

Kent Cooper, AIA
Message 12 of 12
Anonymous
in reply to: Patchy

thanks..for giving straight forward answer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report