Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

GraphView.GetElementByGuid

Switch to Manual
public Experimental.UIElements.GraphView.GraphElement GetElementByGuid (string guid);

Parameters

guidThe GUID.

Returns

GraphElement The first element with the given GUID, within all of GraphView, not just elements contained in layers. Null if none found.

Description

Get any element with a given GUID.