Model.hm_getmodelcheckcorrectvalue#

Model.hm_getmodelcheckcorrectvalue(correction_display_name)#

Returns the value for a given correction.

Parameters:

correction_display_name (hwString) – The GUI display name of the correction. This is case sensitive.

Returns:

Example#

Get the value for the “ Delete unused materials “ correction#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getmodelcheckcorrectvalue(
    correction_display_name="Delete unused materials"
)

print("correctionValue:", result.correctionValue)