*createidrange
Creates an ID range.
Syntax
*createidrange submodel_type id shortname entity_type min_id max_id pool_id integer_array number_of_integers
Type
HyperMesh Tcl Modify Command
Description
This command creates an ID range for a submodel.
Inputs
- submodel_type
 - Submodel type to create the ID range for. Valid values are includes and includefiles.
 - id
 - The ID of the submodel. Not required, if shortname is used.
 - shortname
 - The shortname of the submodel. Not required, if id is used.
 - entity_type
 - Entity type to create the ID range for.
 - min_id
 - The minimum ID for the range.
 - max_id
 - The maximum ID for the range.
 - pool_id
 - The ID of the solver pool.
 - integer_array
 - The ID of the integer array that contains the locked IDs. The integer array is created using the *createarray command. This should always be set to 1.
 - number_of_integers
 - Integer indicating the size (number of integers) in the integer array created using *createarray.
 
Examples
*createidrange includes 1 "" comps 1000 100000 0 1 0*createarray 2 2000 5000
*createidrange includes 1 "" comps 1000 100000 0 1 2Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
12.0.110