Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cancel command

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
714 Views, 1 Reply

cancel command

I wrote a small script and am having trouble with the last part. It gets stuck at the end after the polyline conversion. I have to press the escape key to cancel and manually save and close. Not all of the files I process require a precision for spline conversion number and this is where it hangs up. I would like to add a command prompt to the end of the script to cancel out of the existing command but can't find a command line entry that works in a script.

 

script:

ZOOM

EXTENTS

SELECT

ALL

 

_SETBYLAYER

ALL

 

Y

Y

PEDIT

MULTIPLE

ALL

 

YES

4

 

ZOOM

EXTENTS

 

SAVE

CLOSE

 

snippet of command history up to the issue:

Capture.JPG

1 REPLY 1
Message 2 of 2
pendean
in reply to: Anonymous

if you look at where it stopped, YES was not choice to that command option.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report