Display full version of the post: Batch removal of outdated template file

tulip3D
26.01.2011, 17:47
Hey guys got an issue:Here at work, there are alot of drawings that have a template file referenced in them, but that said template file has since been deleted.So when ever I open an older drawing, I get a little balloon on the bottom right of my screen saying somethings up.When I click on it, it opens up a 'configure standards' window, basically saying, its trying to find it, but cant.Now if we DONT delete this 'reference' from that window, it dramatically slows down are graphics performance making zoom and pan all choppy. When we delete it, everythings cool.Question is, how can I (or can I?) tell autocad to stop looking for this file in every file, without opening each one and re-saving? Like a batch file update or something.Suggestions?Thanks guys!

tulip3D
26.01.2011, 19:52
Anybody? NOOOObody else ever had this problem???

HAWDesigner
26.01.2011, 19:55
Sorry to say it, but I don't think there is anything of that nature. Unless someone has written a LISP routine to handle it.I know how you can prevent it from happening in future DWG files, but you've probably already got that handled.Instead of dealing with the situation on an ongoing/day to day basis, maybe you could take a day to open up all your old drawings, delete the reference, and save the drawing.Good Luck!!

tulip3D
26.01.2011, 20:36
Well that sucks. I was hoping I had a better option! Thanks Haw!

HAWDesigner
26.01.2011, 20:49

I hear ya, tulip. And there may be a better option out there, I just don't have that level of knowledge when it comes to LISP. I'll ask around and let you know if I hear anything.
HAWDesigner2011-01-28 16:49:55

tulip3D
26.01.2011, 21:19
You da' MAN!! 

Vladimir Michl
26.01.2011, 21:55
This is not a removal - but try to set the [VAR]STANDARDSVIOLATION[/VAR] variable to suppress checks.

tulip3D
26.01.2011, 21:59
Vlad! the MAN!what exactly would this do? currently my 'standardsviolation' variable is set at '2'?

HAWDesigner
26.01.2011, 22:17
[VAR]STANDARDSVIOLATION[/VAR] Specifies whether a user is notified of
standards violations in the current
drawing when a nonstandard object is created or modified.
Changes to the
value of
this system variable take effect only when Display Icons from Services
is
checked in the Tray Settings dialog box. To display the Tray Settings
dialog
box, click the down arrow at the right end of the tray on the status
bar, and
then click Tray Settings on the shortcut menu.
0 = Notification is turned off.
1 = An alert is displayed when a standards violation occurs in the
drawing.
2 = An icon is displayed in the status bar tray when you open a file
associated with a standards file and when you create or modify
nonstandard objects.


tulip3D
27.01.2011, 14:54
Thanks HAW. So basically like putting a bag over a butter face chick, LOL, only hides the problem, doesn't fix it.

HAWDesigner
28.01.2011, 16:51
Tulip, I got this response from a friend: You may have a registered app that is coming along
for the ride causing the problem. It is worth a try to run the command
line purger -PURGE and use the REGAPPS argument then save the file and
reopen. I don't know that this is the problem but it is the first thing
I would try.Let me know if that helps.

tulip3D
28.01.2011, 17:43
Thanks HAW!the problem is that a bunch of old files are set to reference a now non-existent file. So every time I open one up I get an error message sayin it cant find it....no sh1t?! lol. what I was hoping for was a way to remove this reference from a batch of files all at once, not individually. but that dosent exist, from what ive heard.

HAWDesigner
28.01.2011, 17:55
That's what I gathered from it too. Have you looked at the long list of downloads here to see if there might be a solution nested in there somewhere?Maybe you can also try JTB World. They have a tone of nice LISP routines.

HAWDesigner
28.01.2011, 18:07
Confirmed, there are two programs at JTB World that may be able to solve your problem. ScriptPro or AutoPurger. If Vladimir has a similar program here, you may want to check that out first.

tulip3D
31.01.2011, 15:24
Freakin HAW, you are the MAN!!!So yeah Vlad, whats good?