mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To edit SMESH_GroupOnFilter
This commit is contained in:
parent
5e4bdb2eed
commit
cb376aa1de
@ -2513,6 +2513,15 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
SMESHGUI_GroupDlg *aDlg = new SMESHGUI_GroupDlg( this, aGroup, true );
|
SMESHGUI_GroupDlg *aDlg = new SMESHGUI_GroupDlg( this, aGroup, true );
|
||||||
aDlg->show();
|
aDlg->show();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SMESH::SMESH_GroupOnFilter_var aGroup =
|
||||||
|
SMESH::IObjectToInterface<SMESH::SMESH_GroupOnFilter>(It.Value());
|
||||||
|
if (!aGroup->_is_nil()) {
|
||||||
|
SMESHGUI_GroupDlg *aDlg = new SMESHGUI_GroupDlg( this, aGroup, true );
|
||||||
|
aDlg->show();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -3713,7 +3722,7 @@ void SMESHGUI::initialize( CAM_Application* app )
|
|||||||
createPopupItem( 704, OB, mesh, "&& isComputable"); // EDIT_MESHSUBMESH
|
createPopupItem( 704, OB, mesh, "&& isComputable"); // EDIT_MESHSUBMESH
|
||||||
createPopupItem( 704, OB, subMesh, "&& isComputable" ); // EDIT_MESHSUBMESH
|
createPopupItem( 704, OB, subMesh, "&& isComputable" ); // EDIT_MESHSUBMESH
|
||||||
createPopupItem( 803, OB, group ); // EDIT_GROUP
|
createPopupItem( 803, OB, group ); // EDIT_GROUP
|
||||||
createPopupItem( 815, OB, group, "&& groupType = 'GroupOnGeom'" ); // EDIT_GROUP
|
createPopupItem( 815, OB, group, "&& groupType != 'Group'" ); // EDIT AS STANDALONE
|
||||||
|
|
||||||
popupMgr()->insert( separator(), -1, 0 );
|
popupMgr()->insert( separator(), -1, 0 );
|
||||||
createPopupItem( 701, OB, mesh, "&& isComputable" ); // COMPUTE
|
createPopupItem( 701, OB, mesh, "&& isComputable" ); // COMPUTE
|
||||||
|
Loading…
Reference in New Issue
Block a user