Print Page | Close Window

Batch removal of outdated template file

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5192
Printed Date: 05.Sep.2026 at 05:31


Topic: Batch removal of outdated template file
Posted By: tulip3D
Subject: Batch removal of outdated template file
Date Posted: 26.Jan.2011 at 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!



Replies:
Posted By: tulip3D
Date Posted: 26.Jan.2011 at 19:52
Anybody? NOOOObody else ever had this problem???


Posted By: HAWDesigner
Date Posted: 26.Jan.2011 at 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!!


-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: tulip3D
Date Posted: 26.Jan.2011 at 20:36
Well that sucks. I was hoping I had a better option! Thanks Haw!


Posted By: HAWDesigner
Date Posted: 26.Jan.2011 at 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.


-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: tulip3D
Date Posted: 26.Jan.2011 at 21:19
You da' MAN!! Thumbs%20Up


Posted By: Vladimir Michl
Date Posted: 26.Jan.2011 at 21:55
This is not a removal - but try to set the [VAR]STANDARDSVIOLATION[/VAR] variable to suppress checks.

-------------
Vladimir Michl (moderator)
https://www.linkedin.com/in/vmichl/" rel="nofollow - LinkedIn , Autodesk Expert Elite


Posted By: tulip3D
Date Posted: 26.Jan.2011 at 21:59
Vlad! the MAN!
what exactly would this do? currently my 'standardsviolation' variable is set at '2'?


Posted By: HAWDesigner
Date Posted: 26.Jan.2011 at 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.



-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: tulip3D
Date Posted: 27.Jan.2011 at 14:54
Thanks HAW. So basically like putting a bag over a butter face chick, LOL, only hides the problem, doesn't fix it.


Posted By: HAWDesigner
Date Posted: 28.Jan.2011 at 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.


-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: tulip3D
Date Posted: 28.Jan.2011 at 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.


Posted By: HAWDesigner
Date Posted: 28.Jan.2011 at 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.


-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: HAWDesigner
Date Posted: 28.Jan.2011 at 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.


-------------
--
R. Williams
AutoCAD 2010 Certified Professional
<!-- If all else fails hit F1 -->
<<AutoCAD 2009


Posted By: tulip3D
Date Posted: 31.Jan.2011 at 15:24
Freakin HAW, you are the MAN!!!Hug
So yeah Vlad, whats good?



Print Page | Close Window