GetDistanceFromRoot Data Member Function

Returns the graph index of the specified <Node> relative to the specified <Group>.

Prototype

int32 GetDistanceFromRoot( Group <Group> )

Parameters

Parameter Type Parameter Name Documentation
<Group><Group>A pointer to the <Group> where you wish to begin searching for the <Node> object's graph index. Typically the document's root node, which is accessible via the global object named Model.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.