Back Help
This page contains reference documentation for the GetChildIndex function. This function gets the index of a node in its parent child list.
int GetChildIndex( Node NodeToGetIndexOf )
Function parameters are as follows:
Examples are as follows:
Node node = Model.GetSelectedNode( s ).GetNode();
Group parent = node.Parent();
int startIndex = parent.GetChildIndex( node );
for( int c = startIndex; c < parent.ChildCount; ++c )
{
Model.Select( parent.Children[c] );
}
For sample code: