*renumbersolverid

Renumbers the solver IDs for the specified entity type.

Syntax

*renumbersolverid entity_type mark_id 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 entities of entity_type contained on mark_id.

This command works in two ways depending on the entities selected. If the selected entities have solver IDs, the command will renumber the solver IDs and not the HyperMesh internal IDs. However, if the selected entities do not have solver IDs, the command will renumber the HyperMesh internal IDs (see *renumber).

Inputs

entity_type
The type of entity selected for renumbering.
mark_id
The mark that contains the entities. Valid values are 1 and 2.
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 development. Value = 0.
reserved_2
Reserved for future development. Value = 0.
reserved_3
Reserved for future development. Value = 0.0.

Example

To renumber the solver IDs of the displayed elements starting from 100 with an increment of 1:

*createmark elems 1 displayed
*renumbersolverid elems 1 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
}