Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I faced a problem, i have a list of coordinates obtained from:
(setq Clst
(vlax-safearray->list (vlax-variant-value (vla-get-coordinates (car A) ) ) )
)
A : is a previously predefined variable from (ssget ) Function.
Now, Clst is a list with no. of coordinates depends on the number of vertex of the selected polyline.
i can say that the No. of points:
(setq Pno (fix (/ (Length Clst) 2)))
I wanna now store every couple of those coordinates from Clst List in separate lists to use after that.
I tried to use repeat function with the number of points calculated, and store 2 coordinates in one list, but
using (vl-remove ) function deletes the values i stored in sublists from the Coordinates list every time it presents in the list, so it's not working.
What is my best option i can use?
Thanks 🙂
Solved! Go to Solution.