Message 1 of 4
wait for line to be drawn

Not applicable
04-07-2017
12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i want to start a lisp routine and let the user draw a line of what ever length they want, and end it by pressing enter, then i want my lisp routine to continue and finish the routine
;;REVCLOUD
(defun c:rev ()
(setq oldlayer (getvar "clayer"))
(command "layer" "new" "REVISION" "color" "6" "REVISION" "")
(setvar "clayer" "REVISION")
(command "pline" "\npress enter when done")
this where i want it to wait til the user hits enter
(command "revcloud" "a" ".25" ".25" "o" "last" "")
(setvar "clayer" oldlayer))