i want lisp programe to Creat simply polyline. for suppose i want to Create polyline length of 3.5. but it should be drawn 35. it should ask for the multiplier number from which it should be multiplied and drawn.
i will specify 3.5.
type your Multiplier =10
it should drawn 35. and this code should execute withing pline command.
(the above one is just example. dont say that "you can type 35". multiplier can be any number. e.g 32.5.). I just tried to write lisp but all is just useless. kindly help me or guide on this.
this is my code
Code:(defun c:xx() (setq a (getreal "Enter multiplier Number:...")) (setq b (getreal "Enter length of link:...")) (command "pline" (getpoint) (* a b ) "") )