Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Modifying linetypes

Anonymous

Modifying linetypes

Anonymous
Not applicable

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

 

 

0 Likes
Reply
Accepted solutions (1)
1,095 Views
11 Replies
Replies (11)

Valentin_CAD
Mentor
Mentor

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



Select the "Mark as Solution" if my post solves your issue or answers your question.

Seleccione "Marcar como solución" si mi publicación resuelve o responde a su pregunta.


Emilio Valentin

0 Likes

pendean
Community Legend
Community Legend
MKLTYPE command (if you remembered to install Express Tools) might be an option: look it up in HELP to understand usage and limitations.
0 Likes

Patchy
Mentor
Mentor

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.

0 Likes

Anonymous
Not applicable

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

0 Likes

Anonymous
Not applicable

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

0 Likes

Patchy
Mentor
Mentor
Accepted solution

linetypes is created using autocad tools?

if you use MKLTYPE

can only be edited in notepad?

Yes, notepad or word.

 

 

0 Likes

Kent1Cooper
Consultant
Consultant

@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
0 Likes

Patchy
Mentor
Mentor

You mean the 😀 sometimes shows in the .lsp ?

0 Likes

pendean
Community Legend
Community Legend

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

0 Likes

Kent1Cooper
Consultant
Consultant

@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
0 Likes

Anonymous
Not applicable

thanks..for giving straight forward answer

0 Likes