cider
Civil/Environmental
- Jan 8, 2002
- 5
I would like to draw a single polyline over a given
list of points.But I always get numerous polylines
(from point to point).
The pointlist has the format ((x1 y1 z1) (x2 y2 z2) ... (xn yn zn)).
The function looks like:
(While (<= counter
(- (length list1) 1)
)
(setq p1 (nth counter list1))
(setq p2 (nth (1+ counter) list1))
(setq zaehler (1+ counter))
(command "_pline" p1 p2 ""
)
Any help would be appreciated!!
list of points.But I always get numerous polylines
(from point to point).
The pointlist has the format ((x1 y1 z1) (x2 y2 z2) ... (xn yn zn)).
The function looks like:
(While (<= counter
(- (length list1) 1)
)
(setq p1 (nth counter list1))
(setq p2 (nth (1+ counter) list1))
(setq zaehler (1+ counter))
(command "_pline" p1 p2 ""
)
Any help would be appreciated!!