Code Red > AutoLISP (Vanilla / Visual)
Random Number of Points
(1/1)
hudster:
I want to create a lisp to draw splines to designate flexible wiring connections.
I can create the lisp so when I click a set number of points, 3 for example, it draws the spline along those points, but I don't have a clue about how to do it for a random number of points.
Can someone give me a pointer please?
gile:
Hi,
Something like this ?
--- Code: ---(command "_.spline")
(while (/= 0 (getvar "CMDACTIVE"))
(command pause)
)
--- End code ---
Or, if you have a point list:
--- Code: ---(command "_.spline")
(mapcar 'command pt-lst)
(command "" "" "")
--- End code ---
Navigation
[0] Message Index
Go to full version