*compactsubmodelids
Renumbers ID ranges starting from the minimum allowed ID.
Syntax
*compactsubmodelids submodel_id id entity_type ?pool_id?
Type
HyperMesh Tcl Modify Command
Description
Renumbers ID ranges starting from the minimum allowed ID.
Inputs
- submodel_type
- Submodel type to compact the IDs for. Valid values are includes and includefiles.
- id
- The ID of the submodel.
- entity_type
- The type of entity to compact the IDs for.
- pool_id
- The optional ID of the solver pool.
Examples
To compact component IDs in include file
1:
*compactsubmodelids includes 1 comps
To compact all entity type IDs in include file
1:
*compactsubmodelids includes 1 0
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.