- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm stuck trying to create a list for comparison.
This code (which is part of the AddPointstoagroup routine I found on the web):
(setq pipeline (entsel"\nPick Pline to extract from..."))
(setq pipeline (car pipeline))
(setq plist (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget pipeline))))
creates a list like this:
((840184.0 6.80043e+06) (840185.0 6.80043e+06))
[I'm only vaguely familiar with what is happening above, but I kinda get gist of it]
Later in the code, it does this:
(setq ss (ssget "_f" plist '((0 . "AECC_COGO_POINT"))))
This makes a set of all the Cogo Points that reside on the polyline.
My goal is to check which vertex in the Plist does not have a cogo point listed in SS
I'm trying to create a list to compare the xy values in the list of the first call by picking apart the set made from the second call, but when I make the list and append the xy values I get this:
(840184.0 6.80043e+06 840184.0 6.80043e+06)
What is the difference between these two lists and how do I achieve the first example?
And while I'm at it, how do I compare what is NOT a member of the list opposed to what is?
Is there a "Not a member" command?
I hope I provided enough info.
Thanks,
Solved! Go to Solution.