ssmemb


(ssmemb ename selectionSet)

This function verifies whether the entity ename is contained in selectionSet.

Arguments

ename  (ename) the entity to verify
selectionSet  (pickset [ename])  the selectionset to verify

Return

the entity (ENAME) is returned if ename is contained in selectionSet, NIL otherwise

Example

(setq ss (ssget "X"))  <Selection set: 000000006EEC81B0>
(ssmemb (entlast) ss)  <Entity name: 6eec68b0>

Remarks

any selectionset always and only contains "main" entities; sub-entities like attributes or 2d/3d polyline vertices are not contained



©  Bricsys NV. All rights reserved.