The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 error trapping
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cswancott
New Member

United Kingdom
10 Posts

Posted - November 18 2005 :  10:39:27 AM  Show Profile  Visit cswancott's Homepage  Reply with Quote
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.

n/a
deleted

112 Posts

Posted - November 18 2005 :  10:49:43 AM  Show Profile  Reply with Quote
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.

Steve Bubendorf
Go to Top of Page

cswancott
New Member

United Kingdom
10 Posts

Posted - November 18 2005 :  11:26:25 AM  Show Profile  Visit cswancott's Homepage  Reply with Quote
Steve,

Many thanks will give it a try.

Craig Swancott
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.31 seconds. Snitz Forums 2000