Salome HOME
0013373: EDF PAL 273 : Option Single/Multi file dump
authorvsr <vsr@opencascade.com>
Tue, 19 Apr 2011 11:16:23 +0000 (11:16 +0000)
committervsr <vsr@opencascade.com>
Tue, 19 Apr 2011 11:16:23 +0000 (11:16 +0000)
src/SMESH_SWIG/smeshDC.py

index c13932a4f911fadddc8aba4d572b61698ea32726..1c379ff005c6b345a6e09c414d800d753e7574b3 100644 (file)
@@ -496,6 +496,11 @@ def CheckPlugin(plugin):
 # All methods of this class are accessible directly from the smesh.py package.
 class smeshDC(SMESH._objref_SMESH_Gen):
 
+    ## Dump component to the Python script
+    #  This method overrides IDL function to allow default values for the parameters.
+    def DumpPython(self, theStudy, theIsPublished=True, theIsMultiFile=True):
+        return SMESH._objref_SMESH_Gen.DumpPython(self, theStudy, theIsPublished, theIsMultiFile)
+
     ## Sets the current study and Geometry component
     #  @ingroup l1_auxiliary
     def init_smesh(self,theStudy,geompyD):