elementSet.instances
The set naming copies made by instancing, by index.
Usage
ElementSet.instances(indices: readonly number[], at?: Scope): ElementSetParameters
indicesreadonly number[]Instance indices in the geometry the scope names; valid only in that revision.
atScopeThe revision and graph node whose geometry the indices address; omit both for free-standing geometry. Default
{}.
Returns
{...at, kind: 'instance', indices }, the array kept as given; an empty array names nothing.
Example
ElementSet.instances([7]).kind // → 'instance'