Model.hm_getmodelchkvaluelevellimitcriteriaattribute#
- Model.hm_getmodelchkvaluelevellimitcriteriaattribute(display_name)#
Returns model check values for level, limit, criteria and attributes for the specified check display name.
- Parameters:
display_name (hwString) – The display name of the check to query.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:resultList (
HmQueryResultList)-Result list object containingHmQueryResultobjects with the following output data:limit (str)
criteria (str)
attribute (str)
Example#
Get the attribute , limit , criteria values for check “ Material E is not defined “#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getmodelchkvaluelevellimitcriteriaattribute( display_name="Material E is not defined" ) # Info for the check for info in result.resultList: print("Limit:", info.limit) print("Criteria:", info.criteria) print("Attribute:", info.attribute)