Model.hm_updatemodelcheckresultvalues#
- Model.hm_updatemodelcheckresultvalues(display_name)#
Updates the failed values for the model check entity.
- Parameters:
display_name (hwString) – The check display name.
- Returns:
hwReturnStatus- Status object
Example#
Update the model check entity with ID 2 and name check_volume#import hm import hm.entities as ent model = hm.Model() # Setting the dataname model.attributeupdatestringarray( entity=ent.Modelcheckcheck(model, 2), identifier=100230, solver=1, status=2, behavior=0, value=[0.5, 1, 1.5], ) model.hm_updatemodelcheckresultvalues(display_name="check_volume")