Dots (Zeros) Error while creating custom linetype

Dots (Zeros) Error while creating custom linetype

pdavis23KMW
Participant Participant
775 Views
6 Replies
Message 1 of 7

Dots (Zeros) Error while creating custom linetype

pdavis23KMW
Participant
Participant

Hi all, 

 

I keep getting the same error that "Dots (Zeros) cannot be adjacent" when trying to create my custom linetype. 

 

I know that the positive numbers represent the length of the line and the negative numbers represent the space after the line and before the text. However, I'm not sure what's causing the Dots (Zeros). I don't have any periods either. Does anyone have a clue as to how I'm setting up the line incorrectly? I included my linetype and the notepad for it. 

0 Likes
776 Views
6 Replies
Replies (6)
Message 2 of 7

Kent1Cooper
Consultant
Consultant

You boxed in exactly the problem:

Kent1Cooper_0-1661975281044.png

Those are adjacent dots [zero-length pen-down segments].  Try removing one of the 0, elements, or more likely, both, since you're starting with a pen-down segment after them anyway.

Kent Cooper, AIA
0 Likes
Message 3 of 7

pdavis23KMW
Participant
Participant

How do I modify the lines though, to remove the zeros. I've included my model space that shows my custom linetype. Custom LineType.pngDots-Zeros.png

0 Likes
Message 4 of 7

Kent1Cooper
Consultant
Consultant

Did the make-a-linetype routine not put it into a file with a .pat ending?  You can open that in a plain-text editor such as Notepad, and delete the 0,0, part, and save it.

Kent Cooper, AIA
0 Likes
Message 5 of 7

pdavis23KMW
Participant
Participant

No. it's saving as .lin file. I'm able to open the definition in notepad, and have tried just deleting the zeros, but I'm not sure if that changes anything in AutoCad. 

0 Likes
Message 6 of 7

Kent1Cooper
Consultant
Consultant

My mistake -- .lin is right [several Hatch topics recently have me thinking .pat].  After you make that change, save the file, and in an AutoCAD drawing, use the LINETYPE command and the Load option to reload the definition.  Does it then work?

Kent Cooper, AIA
0 Likes
Message 7 of 7

TomBeauford
Advisor
Advisor

Simply lisp to add linetypes with text by ronjonp: https://www.theswamp.org/index.php?topic=47058.msg520876#msg520876

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter