JPlanera Posted June 29, 2012 Posted June 29, 2012 I am trying to use the following routine within a script on multiple drawings. The reason i am using a script is because I have an excell file with 200 file names i need to open up from different locations. It is easy to concoctanate these files in excell and i do not know how to make it as easy in a LISP... I need the program to pause on the "VIEW" command. when used in the script it does not work. I have tried different bit codes for the cmdactive variable and i cannot get it to work... any ideas??? (DEFUN C:PV1 () (command "-view" "W" "1") (while (= (getvar 'cmdactive) 1) (command pause) ) (command "-plot" "y" "model" "RICOH C5000 ENG" "Letter (8.5\" X 11\")" "i" "P" "n" "V" "1" "f" "c" "y" "monochrome.ctb" "y" "a" "n" "y" "y") ) Quote
MSasu Posted June 29, 2012 Posted June 29, 2012 I may be wrong, but I believe that is not possible to pause a script for user input. Quote
BlackBox Posted June 29, 2012 Posted June 29, 2012 I may be wrong, but I believe that is not possible to pause a script for user input. I do not write many scripts, but this is my understanding as well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.