*clearallidranges
Clears all ID ranges for various portions of a model.
Syntax
*clearallidranges id_or_type mode
Type
HyperMesh Tcl Modify Command
Description
Clears all ID ranges for various portions of a model.
Inputs
- id_or_type
- The submodel ID or entity type, depending on the requested mode.
- mode
- bymodel - Clear all ID ranges in the whole model.
Examples
To clear all ID ranges for the whole
model:
*clearallidrange 0 bymodel
To clear all ID ranges for an
include:
*clearallidrange $include_id bysubmodel
To clear ID ranges for all comps in the
model:
*clearallidrange comps byentities
To clear all excluded IDs in the whole
model:
*clearallidrange 0 byexcludedmodel
To clear all excluded IDs in an
include
*clearallidrange $include_id byexcludedsubmodel
To clear excluded in an entity type cross the
model:
*clearallidrange groups byexcludedentities
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
14.0.110