*clearmark
Clear all entity IDs of the passed entity type from the specified mark.
Syntax
*clearmark entity_type mark_id
Type
HyperMesh Tcl Modify
Description
This command clears all entity IDs of the passed entity type from the specified mark.
Inputs
- entity_type
- The type of entity mark to clear.
- mark_id
- The mark ID. Valid values are 1 and 2.
Examples
To clear the components on mark 2 before creating a new
mark:
*clearmark comps 2
*createmark comps 2 all
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}