From 3a85b1b855c784463578aefa407b08a5b095b41a Mon Sep 17 00:00:00 2001 From: ptv Date: Wed, 12 Aug 2009 07:35:36 +0000 Subject: [PATCH] correct script (syntax error and missing arguments) Bug IPAL21322 --- src/SMESH_SWIG/smeshDC.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 1649840cc..bfac0f4a6 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -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.