From: eap Date: Wed, 7 Nov 2012 08:30:39 +0000 (+0000) Subject: 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command X-Git-Tag: V6_6_0b1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0362f710907f1c99ff7713fd3898e05933cf226;p=modules%2Fsmesh.git 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command In Compute(), report on hiding algo --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 6f2b63e79..18c66f2c4 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -1225,9 +1225,13 @@ class Mesh: elif err.state == HYP_BAD_GEOMETRY: reason = ('%s %sD algorithm "%s" is assigned to mismatching' 'geometry' % ( glob, dim, name )) + elif err.state == HYP_HIDDEN_ALGO: + reason = ('%s %sD algorithm "%s" is ignored due to presence of a %s ' + 'algorithm of upper dimension generating %sD mesh' + % ( glob, dim, name, glob, dim )) else: - reason = "For unknown reason."+\ - " Revise Mesh.Compute() implementation in smeshDC.py!" + reason = ("For unknown reason. " + "Developer, revise Mesh.Compute() implementation in smeshDC.py!") pass if allReasons != "":allReasons += "\n" allReasons += "- " + reason