Returns the graph index of the specified <Node> relative to the specified <Group>.
int32 GetDistanceFromRoot( Group <Group> )
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. |
None published. Please look for an example in the Scenome Scripting Language code base.