*correctoverflowsubmodelentityids

Corrects an entity ID range overflow for a submodel.

Syntax

*correctoverflowsubmodelentityids submodel_type id entity_type option renum_option ?pool_id?

Type

HyperMesh Tcl Modify Command

Description

This command corrects an entity ID range overflow for a submodel.

Inputs

submodel_type
Submodel type to correct the ID range overflow for. Valid values are:
  • includes
  • includefiles
id
The ID of the submodel.
entity_type
The type of entity to correct the overflow for.
0 - All entity types in the submodel are considered.
option
0 - Overflow IDs
1 - Underflow IDs
2 - Both overflow IDs (default)
renum_option
1 - Compact and fit (default)
2 - Move after max
3 - Move before min
4 - Insert in gaps
5 - Offset and fit (not yet supported)
pool_id
The optional ID of the solver pool.

Examples

To correct components in include file 1 with "both" overflow option and using "move after max" renumber option:
*correctoverflowsubmodelentityids includes 1 comps 2 2
To correct all entities in include file 1 with "both" overflow option and using "move after max" renumber option:
*correctoverflowsubmodelentityids includes 1 0 2 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

12.0.110

2019 - Added new optional argument pool_id.