Salome HOME
def SetPhySize(self, theVal):
authoreap <eap@opencascade.com>
Wed, 18 Nov 2009 12:00:38 +0000 (12:00 +0000)
committereap <eap@opencascade.com>
Wed, 18 Nov 2009 12:00:38 +0000 (12:00 +0000)
         # Parameter of BLSURF algo
+        self.SetPhysicalMesh(1) #Custom - else why to set the size?
         self.Parameters().SetPhySize(theVal)

src/SMESH_SWIG/smeshDC.py

index f45c815a425ef22db4128aa80b7b0f9ab942976c..484b68682f85a8b4cfcacdd4ddb5933289c06e6e 100644 (file)
@@ -4158,6 +4158,7 @@ class Mesh_Triangle(Mesh_Algorithm):
     #  @ingroup l3_hypos_blsurf
     def SetPhySize(self, theVal):
         # Parameter of BLSURF algo
+        self.SetPhysicalMesh(1) #Custom - else why to set the size?
         self.Parameters().SetPhySize(theVal)
 
     ## Sets lower boundary of mesh element size (PhySize).