hello,
is there a way to delete a morph knowing his name ?
I'm using this script to detect the name of the group where the morph belong and I get his name using getLabel
var oPaneMgr = MainWindow.getPaneMgr();
var oPane = oPaneMgr.findPane( "DzParametersPane" );
if( oPane ){
print ("ok")
var oEditor = oPane.getNodeEditor();
var aProperties = oEditor.getPropertySelections( true );
for( var i = 0; i < aProperties.length; i += 1 ){
print( aProperties[ i ].getLabel() );
oGroup = aProperties[ i ].getGroup()
print( "Group : " + oGroup.name )
}
}
thanks