(ssmemb entity-name selection-set)


Determine whether an entity is in the selection set.


This function determines if the entity, entity-name, is in the selection set, selection-set. This function searches through the entities within the selection set to find if entity-name is included. If it is included, the entity's name is returned. If not, nil is returned.

Examples

Code Comments
(setq sset1 (ssadd)) Creates a new selection set called sset1.
(ssadd ent1 sset1) Adds ent1 to sset1.
(ssmemb ent1 sset1) Asks if ent1 is a member of sset1. Yes, so entity name is returned.
(ssmemb ent2 sset1) Asks if ent2 is a member of sset1. No, so nil is returned.

Tell me about...

(setq symbol1 statement1 [symbol2 statement2] ...)

(ssadd [entity-name [selection-set]])

(ssdel entity-name selection-set)

(ssget [mode] [point1 [point2]] [point-list] [filter-list])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language