Model.hm_setmodelcheckcheckstatus#
- Model.hm_setmodelcheckcheckstatus(display_name, status)#
Sets the run status for the specified Model Check check display name.
- Parameters:
display_name (hwString) – The check display name.
status (unsigned int) –
0 - Not run
1 - Run and found failed entities
2 - Run and found no failed entities
3 - No relevant entities found in the model
- Returns:
hwReturnStatus- Status object
Example#
Set the run status for the check named “Unused Materials” to run (1)#import hm import hm.entities as ent model = hm.Model() model.hm_setmodelcheckcheckstatus(display_name="Unused Materials",status=1)