TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: rude dog on December 05, 2003, 02:58:56 PM
-
playing with this routine a little and was wondering what i could use instead of the @ sign to make this puppy run any suggestions are appreciated.
(DEFUN C:LY ()
(SETVAR "OSMODE" 512)
(COMMAND "_lengthen" "DY" PAUSE ".Y" PAUSE "@" "")
(SETVAR "OSMODE" 0)
)
-
Try this
(DEFUN C:LY ()
(setq osm (getvar "OSMODE"))
(SETVAR "OSMODE" 128)
(COMMAND "_lengthen" "DY" PAUSE PAUSE "" "")
(SETVAR "OSMODE" osm)
)
-
the pause pause "" "" got me thanks for the push
-
No problem .. we live to serve ... (well not really but it is kinda nice to say)
-
hmmm neato. question though: how would i make this so i could select multiple lines at once?
dan
-
You could use the multiple option during the pause, or you could use fence.
Quite honestly, I find the best way to "lengthen" a group of lines is to extend by using a fence across multiple objects.
-
or use the lengthen command by dynamic.