*exclusiveidrange

Sets an exclusive ID range.

Syntax

*exclusiveidrange submodel_type id shortname entity_type ?pool_id?

Type

HyperMesh Tcl Modify

Description

This command sets an exclusive ID range for a submodel.

Inputs

submodel_type
The submodel type to sets the exclusive ID range for. Valid values are includes and includefiles.
id
The submodel ID. Not required, if shortname is used.
shortname
The shortname of the submodel. Not required if id is used.
entity_type
The entity type to set the exclusive ID range for.
pool_id
The optional ID of the solver pool.

Example

To set an exclusive component ID range for include 1:
*exclusiveidrange includes 1 "" comps

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.