Model.modelcheck_applyautocorrection_bycollection#

Model.modelcheck_applyautocorrection_bycollection(check_display_name, error_type, collection)#

Runs auto correction on the model, if checks are run.

If executed with no arguments, then auto correction is applied on all checks for all entity types. The order in which auto correction is applied depends on the order in which checks are defined in the config file.

Parameters:
  • check_display_name (hwString) –

    The GUI display name of the check. This is case sensitive.

    If not provided, then auto correction is applied on all the checks of the entity_type for the profile that are run.

    If “ALL” is provided, then auto correction is applied on all checks of the entity_type.

  • error_type (hwString) –

    The type of errors to check, ERROR, WARNING, INFO or ALL.

    If not provided or set to “ALL”, then all checks of all error types are run.

  • collection (Collection) – The collection containing the entities.