(sslength selection-set)


Determine how many entities are in the selection set.


This function reports the number of entities in the selection set, selection-set.

NOTE Use the ssget function to create the selection-set.

Example

Code Comments
(setq sset1 (ssadd)) Creates a new selection set called sset1.
(setq ent1 (car (entsel))) Prompts user to select entity to set to ent1.
(ssadd ent1 sset1) Adds ent1 to sset1.
(sslength sset1) Returns 1.

Tell me about...

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

(ssdel entity-name selection-set)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language