ssgetfirst
(ssgetfirst)
The ssgetfirst function lets you retrieve the selection set with the entities that are highlighted (selected) and gripped.
Return Value
The function returns a list with two elements:
- The first list item is always nil. This list element is obsolete and lost its meaning.
- The second list istem is a selection set of entities that are highlighted (selected) and gripped. It is nil, if no entities are selected.
If the function fails, it returns nil.
Note: Use sssetfirst function to create a selection set with highlighted and gripped entities.
: (ssgetfirst)
(nil <Selection set: 1c8>)
: (setq selset (cadr (ssgetfirst)))
<Selection set: 1c8>
: (ssgetfirst)
(nil nil)
sssetfirst, ssget, ssname, ssmemb, sslength