(ssnamex selection-set index)
Retrieves information about how a selection set was created.
This function only retrives information about selection sets with entities from the current drawing's model space and paper space. Nongraphical objects or entities in other block definitions are not included.
(setq part1 (ssnamex ss1 0))
Returns entity data. For example:
((1 0 (0 (3.0 5.0 0.0)))) .
Tell me about...
Programming Overview of LISP (LISt Processing) Language