Salome HOME
Arguments of CutGroups method corrected
authorsln <sln@opencascade.com>
Fri, 28 Nov 2008 08:51:27 +0000 (08:51 +0000)
committersln <sln@opencascade.com>
Fri, 28 Nov 2008 08:51:27 +0000 (08:51 +0000)
src/SMESH_SWIG/smeshDC.py

index 117580cfac4eec056e95f111c5ca7a5718db3877..93f2e22f0fb9c9e9e020d734c600e1c531a066d7 100644 (file)
@@ -1272,8 +1272,8 @@ class Mesh:
     #  the main group but are not present in the tool group are added to the new one
     #  @return an instance of SMESH_Group
     #  @ingroup l2_grps_operon
-    def CutGroups(self, groups, name):
-        return self.mesh.CutGroups(groups, name)
+    def CutGroups(self, main_group, tool_group, name):
+        return self.mesh.CutGroups(main_group, tool_group, name)
         
     ## Produces a cut of groups
     #  A new group is created. All mesh elements that are present in main groups