nIndex | (Long) The order (Index) of the subobject (zero-based index). Caution: the objects Order does not have to match the order of objects in the tree of Pma objects! |
---|
For Pmg object the PmgObject.GetChildByIndex method can be used for the same purpose.
var o = pMe.Pm("/Folder").GetOwnedByIndex(1);
Pm.Debug("Object name = " + o.Name);