Model.hm_getmodelcheckcorrectionname#

Model.hm_getmodelcheckcorrectionname(correction_display_name)#

Returns the function for a given correction.

Parameters:

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

Returns:

Example#

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

model = hm.Model()

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

print("correctionName:", result.correctionName)