+91 9032063336/7 ( 9:00 AM to 6:00 PM IST || Mon - Fri )

How to ensure command to finish fully in lisp program

progecad jytra advantages

If the last command is not waiting for the previous command in LISP where some user input was expected from user like text, user one of the below two methods:

(i) By inserting a "pause" option in text command statement. You can use many pause functions one after the other with a single space. But you may not be sure how many times user enters the input.

(ii) By writing a while loop to wait for previous command to completely finish using below statement:

      (while (= 1 (getvar "cmdactive")) (command pause))

Unless this statement is there, commands go concurrently from LISP to CAD session.