Returns the indices to all ancestors of the specified item.
trObj Do 'GetAncestors' inx
where inx is an integer scalar or one-element vector, the index number of the item of interest.
The result is an integer vector, the indices of all the descendents of item inx, from the nearest to the most distant. It can be empty.
See also GetChildren, GetDescendants, GetSiblings.