*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/parts dirty (modified) when they or entities belonging to them are changed. They get “cleaned” when exported (for includes) or saved as representations (for parts).
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 parts are valid entity types.
- enable_flag
- 0 - Disables automatic dirtiness detection.
Example
Disables and enables automatic dirtiness handling for parts (i.e. parts/part
assemblies):
*enabledirtinessdetectionforentitytype parts 0
*enabledirtinessdetectionforentitytype parts 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