Get objects in one point
Posted: Wed Dec 14, 2011 1:55 am
Hello,
I try to choose objects in one point. I use:
I choose two times the same point. And I have error:
Regards,
A.
I try to choose objects in one point. I use:
Code: Select all
(setq PtsList ( list (setq P1(getpoint "P1")) (setq p2(getpoint P1 "P2")) ))
setq ss (ssget "CP" PtsList))
(prin1 (sslength ss ))
Please, help me:-); ----- Error around expression -----
(SSLENGTH SS)
;
; error : bad argument type <NIL> ; expected SELECTIONSET at [SSLENGTH]
Regards,
A.