Model.hm_morph_getinfo_testlimits#
- Model.hm_morph_getinfo_testlimits(elem_type, test_id)#
Returns four arguments corresponding to the information stored for the element checks used by
Model.morphshapesmooth(). The first will be either “active” or “inactive” denoting the status of the element test. The next three will be real numbers denoting the limits for the warning, error, and invalid elements criteria.- Parameters:
elem_type (int) –
0 - trias
1 - quads
2 - tetras
3 - pyras
4 - pentas
5 - hexas
test_id (int) –
0 - aspect ratio
1 - skew
2 - minimum angle
3 - maximum angle
4 - warpage
5 - tetra collapse
6 - jacobian
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:testStatus (string)
Example#
Obtain the status and limits for the quad element Jacobian test#import hm import hm.entities as ent model = hm.Model() _,result = model.hm_morph_getinfo_testlimits(elem_type=1, test_id=6) print("testStatus",result.testStatus)