*clearmarkall
Clear all entity IDs for all entity types from the specified mark.
Syntax
*clearmarkall mark_id ?"by model" <model_name>?
Type
HyperMesh Tcl Modify Command
Description
This command clears all entity IDs for all entity types from the specified mark.
Inputs
- mark_id
- The ID of the mark. Valid values are 1 and 2.
- "by model" <model_name>
- The optional model to clear all marks from. If not specified, the current model is used.
Examples
To clear the contents of mark 2 for all entity
types:
*clearmarkall 2
To clear the contents of mark 2 for all entity types for model
model-2:
*clearmarkall 2 "by model" model-2
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0
2020 - Added new option "by model".