*renumbersolveridall

Renumbers the solver IDs for all entities in the model.

Syntax

*renumbersolveridall start_id incr_val offset_val offset_flag reserved_1 reserved_2 reserved_3

Type

HyperMesh Tcl Modify Command

Description

This command renumbers the solver IDs for all entities in the model.

This command works in two ways. If the entity has solver IDs, the command will renumber the solver IDs and not the HyperMesh internal IDs. However, if the entity does not have solver IDs, the command will renumber the HyperMesh internal IDs (see *renumberall).

Inputs

start_id
Integer value > 0 specifying the starting value.
incr_val
Integer value > 0 specifying the renumbering increment.
offset_val
Integer value to use for offsetting. Can be positive or negative as long as after renumbering all entities will have a positive ID.
offset_flag
Flag to specify whether to use offsetting.
0 Use start_id and incr_val and ignore offset_val.
1 Use offset_val and ignore start_id and incr_val.
reserved_1
Reserved for future use. Must be set to 0.
reserved_2
Reserved for future use. Must be set to 0.
reserved_3
Reserved for future use. Must be set to 0.

Example

To renumber the solver IDs of all entities starting from 100 with an increment of 1:

*renumbersolveridall 100 1 0 0 0 0 0.0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}