Jump to content

Recommended Posts

Posted

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

Posted

I should also mention I am using EZscript to run the scripts in multiple drawing.

Posted

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!

Posted
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 :twisted:

 

As for the code, I think the instructions at the top of the LISP should point you in the right direction :thumbsup:

 

Lee

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...