AQucsaiJr Posted July 2, 2009 Posted July 2, 2009 I am trying to write a script that opens a list of drawings, one by one, an runs the GATTE command. I have done this successfully but with a hitch. If the block does not exist in the drawing, the script is stopped and fails, making me have to make it resume. Is there a way to just skip the block that does not exist if this happens so the script can go on to the next task? Here is the script I am trying to run while each drawing is opened: GATTE BLOCK BORDER_INFORMATION APPDATE 07-09 ZOOM E QSAVE Quote
AQucsaiJr Posted July 2, 2009 Author Posted July 2, 2009 I should also mention I am using EZscript to run the scripts in multiple drawing. Quote
Lee Mac Posted July 2, 2009 Posted July 2, 2009 This can be manipulated to suit your needs http://www.cadtutor.net/forum/showpost.php?p=250439&postcount=20 Quote
AQucsaiJr Posted July 2, 2009 Author Posted July 2, 2009 Lee, You should add a "Donations" button to your signature... You would be rich... You seem to have a code for me every time I have an issue... LOL... I will see what I can do with this code... Thanks! Quote
Lee Mac Posted July 2, 2009 Posted July 2, 2009 Lee,You should add a "Donations" button to your signature... You would be rich... You seem to have a code for me every time I have an issue... LOL... I will see what I can do with this code... Thanks! I would love to As for the code, I think the instructions at the top of the LISP should point you in the right direction Lee Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.