Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User Input Polyline

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
spm5
477 Views, 2 Replies

User Input Polyline

Hello,

This is probally pretty simple but I dont know how to do it. I am working on a lisp that requires the user to set a path. I need this path to be a polyline. How to I allow the user to draw a polyline in a lisp?

2 REPLIES 2
Message 2 of 3
lpseifert
in reply to: spm5

this would be about the simplest way

(command "pline")
(while (= 1 (getvar "cmdactive"))
  (command pause))

 

 

~~~Civil 3D 2008~~~
Message 3 of 3
spm5
in reply to: lpseifert

knew it would be simple, thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost