Author |
Topic |
|
cswancott
New Member
United Kingdom
10 Posts |
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. |
|
n/a
deleted
112 Posts |
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. |
Steve Bubendorf
|
|
|
cswancott
New Member
United Kingdom
10 Posts |
Posted - November 18 2005 : 11:26:25 AM
|
Steve,
Many thanks will give it a try.
Craig Swancott |
|
|
|
Topic |
|
|
|