From a32a7716fb1e8dc0ce9c7d8b93012799c031356d Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 16 Feb 2006 13:45:40 +0000 Subject: [PATCH] PAL11200. SMESH::HYP_BAD_SUBSHAPE status added --- idl/SMESH_Mesh.idl | 3 ++- src/SMESH_SWIG/smesh.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 1fe2f2dd8..a48181ec5 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -119,7 +119,8 @@ module SMESH HYP_INCOMPATIBLE, // hypothesis does not fit algo HYP_NOTCONFORM, // not conform mesh is produced appling a hypothesis HYP_ALREADY_EXIST,// such hypothesis already exist - HYP_BAD_DIM // bad dimension + HYP_BAD_DIM, // bad dimension + HYP_BAD_SUBSHAPE // shape is neither the main one, nor its subshape, nor a group }; /*! diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 17e4b8ac5..4d525cfb1 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -112,6 +112,8 @@ class Mesh_Algorithm: reason = hypType + " mismatches shape" elif status == SMESH.HYP_CONCURENT : reason = "there are concurrent hypotheses on sub-shapes" + elif status == SMESH.HYP_BAD_SUBSHAPE : + reason = "shape is neither the main one, nor its subshape, nor a valid group" else: return hypName = '"' + hypName + '"' -- 2.39.2