PAL11200. SMESH::HYP_BAD_SUBSHAPE status added

This commit is contained in:
eap 2006-02-16 13:45:40 +00:00
parent df3619cd79
commit a32a7716fb
2 changed files with 4 additions and 1 deletions

View File

@ -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
};
/*!

View File

@ -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 + '"'