]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PreCAD: add wrapping to SetPreCADOptionValue(optin,value)
authorgdd <gdd>
Wed, 24 Aug 2011 08:16:19 +0000 (08:16 +0000)
committergdd <gdd>
Wed, 24 Aug 2011 08:16:19 +0000 (08:16 +0000)
src/SMESH_SWIG/smeshDC.py

index 4ff373b84ae3e0554cdac7d44c9ae05680e5be9b..2ec2d34e5a99ba18bf249c44ec485d8192be19f2 100644 (file)
@@ -5134,6 +5134,13 @@ class Mesh_Triangle(Mesh_Algorithm):
             #  Parameter of BLSURF algo
             self.params.SetOptionValue(optionName,level)
 
+    ## Sets advanced PreCAD option value.
+    #  @ingroup l3_hypos_blsurf
+    def SetPreCADOptionValue(self, optionName, level):
+        if self.Parameters():
+            #  Parameter of BLSURF algo
+            self.params.SetPreCADOptionValue(optionName,level)
+
     ## Sets GMF file for export at computation
     #  @ingroup l3_hypos_blsurf
     def SetGMFFile(self, fileName):