*renumberelemsnodesasmapgrid

Orders nodes and elements in grid format and renumber nodes and elements with specified start ID.

Syntax

*renumberelemsnodesasmapgrid elem_mark_id origin_node_id x_ref_node_id elem_start_id node_start_id

Type

HyperMesh Tcl Modify

Description

Orders nodes and elements in grid format and renumber nodes and elements with specified start ID.

Inputs

elem_mark_id
The ID of the mark containing the elements to renumber. Only quad elements are allowed. Valid values are 1 and 2.
origin_node_id
The ID of the node to use as the origin of the grid.
x_ref_node_id
The ID of the node to use as the x-axis of the grid.
elem_start_id
The starting ID to use for renumbering the elements.
node_start_id
The starting ID to use for renumbering the nodes.

Example

To renumber all elements, using node 4 as the origin, node 1 as the x-axis, with IDs starting at 100 for both nodes and elements:

*createmark elems 1 all
*renumberelemsnodesasmapgrid 1 4 1 100 100

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

14.0.120