First of all, hello to the community! This'll be my first post on these forums, but i've been using them quite a lot to answer my problems with CAD. Lots of respect for everyone here.
So I have this singular problem and haven't been able to find someone else that had a similar experience. It all started with my desire to remove the "missing shx file" notification we have on almost every CAD drawing we do. It's mostly due to the fact we re-use a lot of old drawings as a base for similar projects and at some point, one of those was a file from outside and those pesky shx files didn't come with it and now we're stuck with them. It's mainly just an annoyance, but I'm trying to fix the mess by creating a clean, useful template. So today I decided to tackle that problem and get rid of the notification.
I looked on the web, didn't find much here, but on other sites, there was a lisp routine that apparently did just that : Link Given, it is dated almost 5 years ago, but the article sin't that old and still referencing it, so I tried. Course I first had to figure out lisp routines, and learned in the process that LT version can't run lisp routines. Fortunatly, we still have a full version of 2011 installed, exactly for stuff like that so I opened my future template in 2011, ran the routine, and this is what the console gave me :
Command: pshx Change mtqroman.shx on ltypeshp.shx Change romansf.shx on ltypeshp.shx Change romansf.shx on ltypeshp.shx Change romansf.shx on ltypeshp.shx Change SASB____.pfb on ltypeshp.shx Change TECHCAD.SHX on ltypeshp.shx Change TECHCAD.SHX on ltypeshp.shx Change mtqroman.shx on ltypeshp.shx Change CADARP.shx on ltypeshp.shx Change mtq.shx on ltypeshp.shx Change C:\Users\bemond\Documents\talus_shape.shx on ltypeshp.shx Change C:\Users\bemond\Documents\Xshape.shx on ltypeshp.shx
Now first of all, those 2 last lines meant that the routine did something to my custom shapes, which are not missing. So I REFRESHed to see the changes and as I thought, the custom lines containing my custom shapes were back to continuous. Reloading the line definition fixed that problem, but now everytime I refresh, I get 80+ "undefined shape #xx". I saved the routined drawing to a different name I'll call "test" here and kept the original. Things seem to be happening differently for me than other users :
1) Opening the test drawing doesn't give me any notification about shx files. Opening the original still does. So far so good.
2) Refreshing the test drawing, wether in 2011 or 2014 LT, gives me "undefined shape #". Refreshing original does not, even when both are openend at the same time.
3) If I open the test drawing in 2014 LT, and then try to reload my lines, it throws me an error that the line definition of every linetype using shapes in the original acadiso.lin is wrong. I cannot reload those line. My custom_lines.lin can be reloaded without any problem. Now thats more of a problem.
4) Same problem as 3) happens when I try to reload lines in my original drawing AFTER I open the test drawing. Problem persists even after closing test drawing, but is fixed on autoCAD restart.
5) problems 3) and 4) don't happen on 2011 full version.
6) I don't have any problem writing text, there are no intrusive error messages, but i noticed in my Style manager that some style reference to ltypeshp.shx as the font and there is a little yellow triangle on it.
It obviously have something to do with the routine messing with the ltypeshp.shx file somehow, but I dunno how or why. I just wanted to get rid of everything referencing to missing shx.
So, anyone knows what's going on here? Since I can still work on the original without any problem, it's not dramatic, but I'd really like to know what didn't work.
Thank you.