vladthedog Posted February 5, 2009 Posted February 5, 2009 I know very little about lisps. I'm kinda playing around with something and I've run in to problems. I want to draw a line between two existing lines that is a certain length. i start with: (command "_line" "m2p" It gives me the option to pick two parts on the screen (i'll choose the two existing lines) and then I'm supposed to select the second point for the line (which I want it to be "@0,-200"). How would I pause for user input after "m2p" but auto insert the above ? Thanks Quote
uddfl Posted February 5, 2009 Posted February 5, 2009 (command "_line" "m2p" pause pause "@0,-200" "") Quote
vladthedog Posted February 5, 2009 Author Posted February 5, 2009 Thanks. I knew it was something simple like that. I'm trying to teach myself some basic lisp programming by looking at other lisps I am currently using... I hadn't seen any use "pause" yet. Quote
Lee Mac Posted February 5, 2009 Posted February 5, 2009 Pause is a handy one, for a continual pause, try something like this: (while (> (getvar "cmdactive") 0)(command pause)) Also, remember in macros, a pause is notified by \ 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.