TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: rude dog on December 05, 2003, 02:58:56 PM

Title: @ sign
Post 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)
)
Title: @ sign
Post by: Keith™ on December 05, 2003, 03:13:02 PM
Try this
Code: [Select]

(DEFUN C:LY ()
  (setq osm (getvar "OSMODE"))
  (SETVAR "OSMODE" 128)
  (COMMAND "_lengthen" "DY" PAUSE PAUSE "" "")
  (SETVAR "OSMODE" osm)
)
Title: @ sign
Post by: rude dog on December 05, 2003, 10:48:13 PM
the pause pause "" "" got me thanks for the push
Title: @ sign
Post by: Keith™ on December 06, 2003, 01:58:44 AM
No problem .. we live to serve ... (well not really but it is kinda nice to say)
Title: @ sign
Post by: ELOQUINTET on December 16, 2003, 11:19:01 AM
hmmm neato. question though: how would i make this so i could select multiple lines at once?

dan
Title: @ sign
Post by: Keith™ on December 16, 2003, 12:19:04 PM
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.
Title: @ sign
Post by: daron on December 16, 2003, 05:51:28 PM
or use the lengthen command by dynamic.