Jump to content

Recommended Posts

Posted

Hi all.

 

(Please forgive me if this is not the correct category...)

 

I recently brought in a site plan file from a civil engineer (as a block) to check some items. In doing so, it added tons of linetypes (shapes?). After checking what I needed, I deleted the block, continued working on the file, saved. Now, when I open the file, it asks for .shx files that I do not have, nor do I want in my previously clean files.

 

In attempting to figure out how to fix this, I saved one of my clean files as a test file, then copy/pasted (1) line from the "corrupted" file (one of MY lines) to the test file. Doing so brings in all of the crap that I do not want.

 

Now, to the obvious question ... how do I purge this linetype/shape info from my file?

 

In case it makes a difference, my AutoCAD version is: "Autodesk Building Design Suite Premium 2013".

Posted

Do you know if the original site plan was created in Microstation? The program is notorious for its overabundance of linetypes when content is used from it in AutoCAD. AutoDesk even went as far as to issue a hot fix for 2013 and another for 2013/2014 DWG files.

Posted

No ... I do not. If it helps to solve the problem, I can find out.

Posted

Can you attach a sample drawing for us to play with?

Posted

Sure.

 

Here is the base file I was working on, with all my actual plan data removed, and the file purged ... which still asks for the .shx file when opened...

sample01.dwg

Posted

I see AutoCAD looking for four .SHX files. Is that what you see?

 

OK....I think I got rid of everything with one exception. Ltypeshp.shx is a text font and not a shape file. My version of AutoCAD has the font.

 

Now if you'll bear with me I have an experiment to run. Stay right there....I'll be back.8)

Posted (edited)

That solves the .shx problem ... the file opens without the error!

 

On a related note ... All of the linetypes that came in with that civil file are still there. If you notice, there is a huge list of linetypes ... almost all of them are from the civil file. Is there a way to get rid of those too? Should I post another topic for this question?

 

[Edit] ...Also, if I copy/paste a line from your cleaned-up file to my clean test file, it brings in all of the linetypes.

Edited by SB-cad
Forgot to finish my thought
Posted

I'm pretty sure you will need to download the hot fix I mentioned previously as those linetypes are from Microstation. Even one of the SHX files was named dgnlstyle-tsaec.shx (the DGN is a reference to the file type Microstation saves to). A link for you.....

 

http://knowledge.autodesk.com/support/autocad-raster-design/downloads/caas/downloads/content/autocad-C2-AE-dgn-hotfix.html

 

Check out the Readme file too.

Posted

Ok. I'll try that.

 

Is the hot fix what you used to clean the .shx problem ... so I can fix my project file?

Posted

No, it is not. I used a custom lisp routine I literally stumbled across by accident while trying to help someone else with a different problem. Sometimes my Internet searches turn up the strangest things.

Posted (edited)

The HotFix works!!! It fixes both the .shx problem and the linetypes problem! It took a couple of tries to get it to install ... but then it worked great!

 

You are AWESOME!!! Thank you so much!!!

Edited by SB-cad
spelling error
Posted

Please....this is a "no gushing" zone.:nono: Over excitement will be dealt with harshly (bucket of ice/water).:lol:

 

I did not program the hot fix so I can take no credit for that. All I did is give you my best opinion based upon what I saw in your file and point you in the most probable direction. You did the rest.:thumbsup:

 

You're entirely welcomed. Now that you are the "go to guy" in the office ask for a raise. You can buy me a beer when you get your first check.:D

 

Regards,

 

ReMark

Posted

Ok. Sounds great. I will.

 

(Notice that I have calmed down on the excitement thing)

Posted

Joplin, MO?

 

I'll be somewhat in your vicinity perhaps in early July when I visit Eureka Springs, AR. It's in the northwest corner of the state. We can meet for that beer then. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...