ssname


(ssname selectionSet index)

This function returns the entity at the specified index in selectionSet.

Arguments

selectionSet  (pickset [ename])  the selectionset
index  (number, integer or double, >= 0)  the index indicating the entity to be retrieved; index starts with 0

Return

ename, the entity at specified index; or NIL if index is larger than the number of entities contained in selectionSet

Example


Remarks

first entity is at index 0;
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.