Salome HOME
correct script (syntax error and missing arguments) Bug IPAL21322
authorptv <ptv@opencascade.com>
Wed, 12 Aug 2009 07:35:36 +0000 (07:35 +0000)
committerptv <ptv@opencascade.com>
Wed, 12 Aug 2009 07:35:36 +0000 (07:35 +0000)
src/SMESH_SWIG/smeshDC.py

index 1649840ccf64f6f17c23d6986b45f9c3cd412a00..bfac0f4a61f620fd7ef7c22077757bf1aec57963 100644 (file)
@@ -3327,7 +3327,7 @@ class Mesh:
     #  @return TRUE if operation has been completed successfully, FALSE otherwise
     #  @ingroup l2_modif_edit
     def DoubleNodes(self, theElems, theNodesNot, theAffectedElems):
-        return self.editor.DoubleNodes(theElems, theNodesNot)
+        return self.editor.DoubleNodes(theElems, theNodesNot, theAffectedElems)
         
     ## Creates a hole in a mesh by doubling the nodes of some particular elements
     #  @param theElems - the list of elements (edges or faces) to be replicated
@@ -3338,8 +3338,8 @@ class Mesh:
     #         The replicated nodes should be associated to affected elements.
     #  @return TRUE if operation has been completed successfully, FALSE otherwise
     #  @ingroup l2_modif_edit
-    def DoubleNodesInRegion( self theElems, theNodesNot, theShape ):
-        return self.editor.DoubleNodesInRegion(theElems, theNodesNot)
+    def DoubleNodesInRegion(self, theElems, theNodesNot, theShape):
+        return self.editor.DoubleNodesInRegion(theElems, theNodesNot, theShape)
     
     ## Creates a hole in a mesh by doubling the nodes of some particular elements
     #  This method provided for convenience works as DoubleNodes() described above.