hm_is_dirtiness_detection_enabled_for_entitytype

Informs if automatic dirtiness detection is enabled for the entity type.

Syntax

hm_is_dirtiness_detection_enabled_for_entitytype entity_type

Type

HyperMesh Tcl Query Command

Description

An automatic mechanism marks includes/modules dirty (modified) when they or entities belonging to them are changed. They get “cleaned” when exported (for includes) or saved as representations (for modules).

This query informs whether the automatic detection mechanism is active or not for a specific entity type. By default, if not manually disabled, it’s always active. This is useful to be asked before manual manipulation of the automatic mechanism, to store and restore the previous state.

Inputs

entity_type
Currently, only includes and modules are valid entity types.

Examples

Asks whether the automatic detection mechanism is active for include files:
hm_is_dirtiness_detection_enabled_for_entitytype includes

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {hm_is_dirtiness_detection_enabled_for_entitytype mats} ] } {
   # Handle error
}

Version History

2021.2