jlogan42,
You are still missing the underlying problem here that has been pointed out twice.
Number are not points, they're numbers. In autolisp, points are expressed as either a 2 or 3 element long list. i.e.
This is a number:
5
This is a 2d point:
(5 5)
This is a 3d point:
(5 5 5)
This is how you define a 3d point:
(setq pt1 (list 5 5 5))
or alternatively
(setq pt1 '(5 5 5))
pt1 is now a variable holding a point where x=5, y=5, z=5
The following defines a number, not a point
(setq a 5)
"a" is now a variable holding the number 5
When you're using ssget with "CP" as its first argument, it then expects to find a
list of
points as its next argument.
A list of points could be defined like this:
(setq ptlist (list (list 1 2 3) (list 4 5 6) (list 7 8 9))
You could also use the quote symbol. Read Lee Mac's write up on using it:
http://www.lee-mac.com/quote.htmlThis is why you're getting an error when using ssget. Hopefully this clears it up.