*correctalloverflowsubmodelentityids

Corrects an entity ID range overflow for a submodel.

Syntax

*correctalloverflowsubmodelentityids submodel_type id entity_type option renum_option

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 and includefiles.
id
The ID of the submodel.
entity_type
The type of entity to correct the overflow for. If set to 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)

Examples

To correct all overflows in include file 1 with "both" overflow option and using "move after max" renumber option:
*correctalloverflowsubmodelentityids includes 1 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