From aaefbed54e87a0198d4d4dc1a1cc2335368d96aa Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 16 Sep 2008 10:04:38 +0000 Subject: [PATCH] add more error messages --- src/SMESH_SWIG/smeshDC.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 511de93de..d5e8661d6 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -3347,6 +3347,8 @@ class Mesh_Triangle(Mesh_Algorithm): self.params = self.Hypothesis("BLSURF_Parameters", [], "libBLSURFEngine.so", UseExisting=0) return self.params + else: + print "Mesh_Triangle with algo type %s does not have such a parameter, check algo type"%self.algoType return None ## Sets MaxSize @@ -3527,7 +3529,7 @@ class Mesh_Tetrahedron(Mesh_Algorithm): "libGHS3DEngine.so", UseExisting=0) return self.params - print "Algo support no multi-parameter hypothesis" + print "Algo supports no multi-parameter hypothesis" return None ## Sets MaxSize -- 2.39.2