Some line types are not showing up

Some line types are not showing up

joe_kohli
Advocate Advocate
743 Views
6 Replies
Message 1 of 7

Some line types are not showing up

joe_kohli
Advocate
Advocate

I am not sure what happened but some of my linetypes are now not showing up. Never had an issue before so I know somehow some setting was changed. I have checked all my line scales and they all look good. I attached a photo of what the line types all should look like and attached a file so that they can be looked at. I'm at a loss on what could be wrong. The ones that are highlighted in pink are the ones I am having issues with.

 

joe_kohli_1-1715601469075.png

 

 

 

0 Likes
Accepted solutions (1)
744 Views
6 Replies
Replies (6)
Message 2 of 7

Kent1Cooper
Consultant
Consultant

You probably have the same problem we all have [see the message when you open the drawing] -- unavailable .SHX file(s) for the shapes included in those linetypes.  Look at the linetype definitions to see what shape file(s) they refer to.  Could it/they have gotten moved to a different folder?  Or worse, deleted?  Or its/their folder removed from the Support File Search Path list?  Do you have the .SHP file(s) to re-compile from?

Kent Cooper, AIA
0 Likes
Message 3 of 7

joe_kohli
Advocate
Advocate

Ya I have the .lin, .shp, and the .shx files for the LINETYPES saved in the Support file. I just need to know how to re-apply them to autocad.

 

0 Likes
Message 4 of 7

Kent1Cooper
Consultant
Consultant
Accepted solution

@joe_kohli wrote:

Ya I have the .lin and the .shx files for the LINETYPES saved. 


But do you have them where AutoCAD can find them?  Put these in at the command line to be sure:

(findfile "YourLinetypeFile.lin")

(findfile "YourShapeFile.shx")

If either returns nil, then it's not finding the file.  Otherwise, they'll return where the files are.

 

To re-apply them if it's just not finding them, put them into a folder in the Support File Search Path list in the Files portion of the OPTIONS dialog box.  Or put the location where they are into that list.  [You don't need to include the .SHP file -- it can only draw the shapes from the .SHX version.]

 

One possibility is that you have more than one of the same file name, and it is using the one it finds first, but that's not the right one.

Kent Cooper, AIA
0 Likes
Message 5 of 7

joe_kohli
Advocate
Advocate

Ya both are "NIL". It's clearly not finding them. How do I fix this?

0 Likes
Message 6 of 7

Kent1Cooper
Consultant
Consultant

@joe_kohli wrote:

Ya both are "NIL". It's clearly not finding them. How do I fix this?


I edited my previous Reply with some information about that.  It does mean you need to know where they actually are, which Windows File Explorer should be able to help you find, if AutoLisp within an AutoCAD drawing cannot.

Kent Cooper, AIA
0 Likes
Message 7 of 7

joe_kohli
Advocate
Advocate

That was it. It was missing from the Support file location. Thank you very much for your help!!

0 Likes