*renumberall

Renumbers the internal HyperMesh IDs for all entities in the model.

Syntax

*renumberall start_id incr_val offset_val offset_flag

Type

HyperMesh Tcl Modify Command

Description

This command renumbers the internal HyperMesh IDs for all entities in the model.

This command only renumbers HyperMesh internal IDs, even if the selected entities have solver IDs (see *renumbersolveridall).

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.

Example

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

*renumberall 100 1 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
}