vnanhvu Posted May 19, 2011 Share Posted May 19, 2011 I HAVE A LISP CREATE WIPEOUT FOR CIRCLE. BUT I CANT DO THIS WITH PLINE! CAN YOU HELP ME ! THANKS ALL ! (Defun c:WC () (command "undo" "be") (setq luubatdiem (getvar "osmode")) (setvar "osmode" 0) (Princ "\nHay chon CIRCLE :") (setq XX (ssget '((0 . "CIRCLE")))) (setq L 0) (setq M (sslength XX)) (while (< L M) (setq DT (ssname XX L)) (setq DT (entget DT)) (setq TAM (cdr (assoc 10 DT))) (setq BANKINH (cdr (assoc 40 DT))) (command ".polygon" "30" TAM "" BANKINH) (command ".wipeout" "" "last" "y") (setq L (1+ L)) ) (setvar "osmode" luubatdiem) (command "undo" "end") (Princ) ) Quote Link to comment Share on other sites More sharing options...
designerstuart Posted May 19, 2011 Share Posted May 19, 2011 i'm afraid i cannot help you here, but i do like your lisp. did you write it? and may i use it please? ps. i like the non-english commands: "hay chon CIRCLE:" i am told --- am i learning vietnamese?! Quote Link to comment Share on other sites More sharing options...
vnanhvu Posted May 19, 2011 Author Share Posted May 19, 2011 i'm afraid i cannot help you here, but i do like your lisp. did you write it? and may i use it please?ps. i like the non-english commands: "hay chon CIRCLE:" i am told --- am i learning vietnamese?! " hay chon Circle " >>> mean : pick circle. Sorry, im vietnam Quote Link to comment Share on other sites More sharing options...
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.