Missing Shx File(s)

Missing Shx File(s)

Anonymous
Not applicable
13,321 Views
5 Replies
Message 1 of 6

Missing Shx File(s)

Anonymous
Not applicable

Civil 3D Win7

 

I am cursed with the missing shx error on open, and it exists in my drawing template. The file exists - if I specify the file it finds it in the folder as setup in Options. ALl I have to do is click OK and I am off.

 

But, why is it doing this? I know the shx file is good (not corrupted). I have two shapes used by two linetypes in the file, and that is it.

 

Now, something weird is going on - even if I select Specify a replacement file, or whatever it says, I do not get a dialog box at all. It is if I had selected Ignore ... and it opens the dwg.

 

I want to resolve this once and for all. delshape.lsp isn't doing anything for me. is there a way to audit the drawing - not necessarily for errors, but to see what shx files are loaded, and what are missing?

 

I don't think I had this problem in C3D 2017. and it also doesn't seem to be consistent - sometimes i see it, sometimes i don't is this because i specified the missing shx then saved? I tried LOADing the shx into the template and saving, but i still get the error.

 

it is all kind of vague to me. can anyone help?

0 Likes
Accepted solutions (1)
13,322 Views
5 Replies
Replies (5)
Message 2 of 6

leothebuilder
Advisor
Advisor

Fonts should be located in the windows font folder for Autocad to "find" them.

 

Using any TTF's (such as Arial) usually don't give you this problem because 99.9999% of window installations have these fonts installed by default.

 

Use the STYLE command to see if this font is in your template.

 

You can also use the FONTALT command to substitute any font that Autocad can't locate by using foe example the Arial font.

 

 

0 Likes
Message 3 of 6

leothebuilder
Advisor
Advisor

P.s. you should also check the linetypes that are loaded in your template.

If they have any text embedded in the linetypes these are usually .shx fonts.

0 Likes
Message 4 of 6

Anonymous
Not applicable

When my Specify Missing Shx File dialog still worked it wanted a shx file that contained shapes used in a custom linetype. It has nothing to do with text styles.

 

I have since redefined the linetype using shapes found in an out of the box shx file (aeccland.shx), because that thing is found everywhere. But, i still get th error message.

 

I am going to do a repair to see if I can at least get the dialog back to make sure of the missing file.

 

thanks.

0 Likes
Message 5 of 6

Anonymous
Not applicable
Accepted solution

OK, i redefined my linetype as described in previous post, purged the shape, used delshape.lsp to really make sure the shape was gone, and supposedly all references to the missing shx are removed from my template. I am no longer getting the error message.

 

lessons learned: beware of relying on custom shx files, and beware of new releases (this all worked fine in 2017)

Message 6 of 6

jmayo-EE
Mentor
Mentor

" is there a way to audit the drawing - not necessarily for errors, but to see what shx files are loaded,"

 

Use Purge. Open the dialog, clcik the View Items You Cannot Purge and click/expand the Shapes tree.

John Mayo

EESignature

0 Likes