Scene3D.getElementNameByGuid() method

Get the element ID of element by specifying its GUID.

Signature:

getElementNameByGuid(guid: string): string;

Parameters

ParameterDescription
guidThe global unique ID string of the element.

Returns:

string

Return the element name. If no such element exists, null is "".