nIndex | (Long) the order (index) of the nested Pmg object (zero-based index). |
---|
var iItem, oObject;
var oRoot = pMe.Root;
var nChildCount = oRoot.GetChildCount();
for (iItem = 0; iItem < nChildCount; iItem++)
{
oObject = oRoot.GetChildByIndex(iItem);
Pm.Debug(oObject.Name);
}