The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 error trapping

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
cswancott Posted - November 18 2005 : 10:39:27 AM
Quite often when running scripts on multiple drawings I enevitably get the odd drawing which requires an additional response to something.

For example when loading a linetype, if it already exists in the drawing I get asked if I want to overwrite the existing linetype.

Is it possible to add an extra return for these odd values followed by a type of cancel command. This for the instances where the additional response is not required & autocad uses the additional return to repeat the last command, will cancel it out. This should work for both cases I guess.

Can anyone help please.
2   L A T E S T    R E P L I E S    (Newest First)
cswancott Posted - November 18 2005 : 11:26:25 AM
Steve,

Many thanks will give it a try.

Craig Swancott
n/a Posted - November 18 2005 : 10:49:43 AM
cswancott,

I don't think this is the solution you were looking for, but it may be a solution which could help, at least in some instances similar to what you describe. You could try resetting the system variable "Expert" as one of your opening script lines, and then resetting it to its initial value near the end of your script. Setting the variable to 5, for example, rather than the default 0, suppresses additional prompts which tend to crash scripts.

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.14 seconds. Snitz Forums 2000