Author |
Topic |
|
cadtastic
Starting Member
USA
3 Posts |
Posted - April 21 2006 : 11:57:58 AM
|
Hey Bill,
I was some cleaning scripts on a new job that had come in and while redirecting the xrefs, acad would halt on errors when it found that an xref was missing. So after processing 20 or so drawings successfully, I would have to create a dummy file to trick acad into thinking the xref was in our system. Then I would go back to Hurricane to remove the successful processed files from the queue and then hit Create and Run Batch Script.
I think after hurricane initiates the open command to open the next drawing of the list, it could tell hurricane to remove the previous drawing from the queue (via a checkbox maybe). I've ran scripts on a new system recently and while tweaking the script, I noticed the qsave got eaten up by another command that wasn't finished yet (that was because I put in one too many spaces - it wasn't a problem on hurricane's end :)
But using the open command as a signal to drop completed drawings would prevent hurricane from removing unsucessfully processed dwgs from the queue prematurely.
Also, I haven't began to look into this xref dilemma yet. Do you know anyway to export/report missing xref information to a txt file? Or a batch file maker based on such a report?
Best regards, Paul
|
|
Admin
Administrator
652 Posts |
Posted - April 21 2006 : 4:30:37 PM
|
Hi Paul,
Thanks for posting your recommendation. A couple of points about your request.
quote: But using the open command as a signal to drop completed drawings would prevent hurricane from removing unsucessfully processed dwgs from the queue prematurely
Because Hurricane generates a script FIRST, then AutoCAD runs it, there is no way for Hurricane to know which files were processed completely (The user could hit ESC while the script is running in AutoCAD, and effectively halt the script half way through. I suppose this is not impossible, as Hurricane could possibly watch the file date/time stamps on files loaded in the queue, then remove them when they are updated. However, the problem with this is if a file is updated by an outside source, then the file may be removed from the Queue unexpectedly.
quote: Also, I haven't began to look into this xref dilemma yet. Do you know anyway to export/report missing xref information to a txt file? Or a batch file maker based on such a report?
Offhand, I will look around, there has to be some reference to the topic if you http://www.google.com/ it. I would bet that there are several users in here that have various work arounds for this.!!?? Anyone?
All in all, I've tried to get Hurricane to "notice" certain things, like whether files are locked, or don't exist, or are read-only, and react appropriately in the script, however if your DWG files aren't consistant in the first place, there is nothing you can do, other than take the time with Hurricane to go through them the first time and clean things up. Once this is done, it should be smooth sailing, at full speed!
Regards, Bill |
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
|
Topic |
|
|
|