marmo Posted May 25, 2012 Posted May 25, 2012 Hello to all, i need to draw many polyline and then once the offset of all. Something like this draft: (defun c:PolyOFF (var...) (command "pline"); draw the polyline point by point, using the basic command of autocad. (command "offset" "last"); offset polyline just drawn, using the basic command of autocad. (command "erase" "previous"); erase the polyline drawn in the beginning. ) Thanks for any help. Regards. Quote
pBe Posted May 25, 2012 Posted May 25, 2012 For a single run (defun c:test nil (command "pline") (while (eq 1 (logand 1 (getvar 'cmdactive))) (command pause)) (command "offset" "_erase" "Y" pause (entlast) pause) ) Quote
pBe Posted May 25, 2012 Posted May 25, 2012 It works fine! Thanks a lot! Good for you marmo. Glad I could help Cheers 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.