Complex linetype (.lin) file – some definitions load, others fail with “Invalid number or bad continuation”

Complex linetype (.lin) file – some definitions load, others fail with “Invalid number or bad continuation”

s3381199
Observer Observer
402 Views
3 Replies
Message 1 of 4

Complex linetype (.lin) file – some definitions load, others fail with “Invalid number or bad continuation”

s3381199
Observer
Observer

Hi everyone,

 

I’m running into an issue loading a custom .lin file with complex linetypes in AutoCAD, and I’m hoping someone can point me in the right direction.

 

I’ve created a single .lin file containing numerous complex linetypes with embedded text (utilities, QL variants, dashed versions, etc.). The strange part is that some of the linetypes load perfectly, while others fail during import with errors like:

  • “Invalid number or bad continuation”

What’s confusing is that the linetypes that fail appear to be structured the same way as the ones that load successfully.

 

What I have tried so far:

 

Any insight would be really appreciated. I feel like I’m missing something subtle in the way AutoCAD parses these.

 

Thanks in advance for your help.

0 Likes
Accepted solutions (1)
403 Views
3 Replies
Replies (3)
Message 2 of 4

paullimapa
Mentor
Mentor
Accepted solution

I replaced all the , space with just , without the space and now they all work:

paullimapa_0-1765845609097.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 4

s3381199
Observer
Observer

Hi Paul,

 

That was it! Removing the spaces after the commas resolved the issue. All linetypes now load correctly in AutoCAD without errors.

 

Thanks heaps for taking the time to look at it and point that out. I really appreciate the help.

0 Likes
Message 4 of 4

paullimapa
Mentor
Mentor

Glad that worked out for you...cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes