*enabledirtinessdetectionforentitytype
Enables/disables automatic dirtiness detection for an entity type.
Syntax
*enabledirtinessdetectionforentitytype entity_type enable_flag
Type
HyperMesh Tcl Modify 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 command allows the manual override of the automatic mechanism, in case it is needed by a specific work-flow or user request. The change is not persistent. The suggested method is to disable the detection mechanism, issue commands that should not affect dirtiness status, and then re-enable it.
Inputs
- entity_type
- Currently, only includes and modules are valid entity types.
- enable_flag
- 0 - Disables automatic dirtiness detection.
Example
Disables and enables automatic dirtiness handling for modules (Parts/Part
Assemblies):
*enabledirtinessdetectionforentitytype modules 0
*enabledirtinessdetectionforentitytype modules 1
Errors
Incorrect usage results in a Tcl error. To detect errors, you
can use the catch
command:
if { [ catch {*enabledirtinessdetectionforentitytype mats 0} ] } {
# Handle error
}
Version History
2021.2