I'm trying to make a script that goes through a group of clusters and renames them, but I can't seem to access their names...
Code: Select all
SelectMembers("Clusters", null, null);//select group
var oColl = new ActiveXObject("XSI.Collection") ;//create a collection
oColl.AddItems(Selection);//add group members to selection
for ( var i = 0; i < oColl.Count ; i++ )
{
SelectMembers(oColl[i],null,null);
Logmessage(oColl[i]);
}
Could someone help me out here?
Thanks
Pete