TheSwamp

Code Red => VB(A) => Topic started by: Matersammichman on December 19, 2006, 08:50:20 AM

Title: Log File with Purge command
Post by: Matersammichman on December 19, 2006, 08:50:20 AM
I want to create a Log File (.txt) that will record what actions Cad performs from the time a purge command starts, until it is finished, so that I can review what was purged. Has anyone coded this? :kewl:
Title: Re: Log File
Post by: Bryco on December 19, 2006, 09:54:54 AM
I can't imaginine you can directly tap into that.
Yor 2 choices are
1)On begin command-tally up everything then find the difference on endcommand
2) Write your own purge command

I've written a purge blocks routine if you need it (that's the hard one)
Title: Re: Log File
Post by: rkmcswain on December 19, 2006, 12:09:02 PM
Another idea... If you redefine the dialog version of PURGE and force usage of the command line version, then you can review the output from this command.

Explore LOGFILEON, LOGFILEPATH, and LOGFILEOFF