Scene3D.getElementsNames() method

Return the element names of element of certain type.

Signature:

getElementsNames(elementType?: ElementType, inverted?: boolean): Array<string>;

Parameters

ParameterDescription
elementTypeThe type of element. By default it is ElementType.ANY. It can be ElementType.Element, ElementType.LINK, ElementType.ROOM or ElementType.AREA.
invertedIf set to true, the elements that are not the type will be returned. By default, it is false.

Returns:

Array<string>

An array of element names.