From: eap Date: Thu, 4 May 2006 17:10:22 +0000 (+0000) Subject: fix bug 10638: add SMESH_Mesh::GetGroups() allowing correct PythonDump of groups... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e5fb5d7ab094aedda2c75c599b58f88791635f7;p=modules%2Fsmesh.git fix bug 10638: add SMESH_Mesh::GetGroups() allowing correct PythonDump of groups of imported mesh --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 8a72df14b..c11266ded 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -35,6 +35,8 @@ module SMESH { interface SMESH_Hypothesis; typedef sequence ListOfHypothesis; + interface SMESH_GroupBase; + typedef sequence ListOfGroups; typedef sequence double_array ; typedef sequence long_array ; @@ -169,7 +171,6 @@ module SMESH long_array GetIDs(); }; - interface SMESH_GroupBase; interface SMESH_Group; interface SMESH_GroupOnGeom; interface SMESH_subMesh; @@ -236,6 +237,12 @@ module SMESH void RemoveGroupWithContents( in SMESH_GroupBase aGroup ) raises (SALOME::SALOME_Exception); + /*! + * Get the list of groups existing in the mesh + */ + ListOfGroups GetGroups() + raises (SALOME::SALOME_Exception); + /*! * Union of two groups * New group is created. All mesh elements that are