PDA

View Full Version : AUDIT IN ACADDOC.lsp


dbrownson
2008-03-20, 10:36 PM
could i run an audit with repair set to yes in my acaddoc.lsp.

does audit have any possible negative effects?

dgorsman
2008-03-21, 01:04 AM
Not usually, but in some circumstances I've had audit crash a drawing while trying to repair it, so I normally run it with it set to "No" at least once so I can review the problems needed to be fixed. Just had a good reason to do this today - bad linetype settings on objects, they were all set from "HIDDEN" to "CONTINUOUS" at the fix, without the feedback I wouldn't know that something was changed.

T.Willey
2008-03-21, 01:40 AM
Don't think so. I could be wrong though. You don't want to put command calls in items that get loaded before Acad is ready to execute commands. If you want to run an audit on multiple drawings, then I would set up a script that only calls audit.

rkmcswain
2008-03-24, 04:12 PM
You need to put your command statement inside the S::Startup function. Be sure to append and not overwrite, since other applications may have code in this function. Search for examples.