*align1delemsbysystem

Aligns 1D elements with respect to global or local system.

Syntax

*align1delemsbysystem <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>

Type

HyperMesh Tcl Modify Command

Description

Aligns 1D elements with respect to global or local system.

Options can be provided in any order.

Inputs

mark=<mark_id>
The ID of the mark containing the input elements. Valid values are 1 and 2.
align=<mark_id>
The axis of the system with respect to which the elements will be aligned. Valid values are:
x, r - X axis
y, t - Y axis
z, p - Z axis
xy, rt - XY axis
yz, tp - YZ axis
xz, rp - XZ axis
all, xyz, rtz, rtp - All axes
angle=<value>
The angular tolerance while aligning elements with respect to the axis of the input system.
dimension=<value>
The dimension of the elements to consider. Valid value is 1D.
system=<id>
The reference system ID. For global system, it will be 0.

Examples

Align selected 1D elements with respect to local system with ID 1, along all its axes:

*createmark elements 1 1 2 3 4
*align1delemsbysystem mark=1 dimension=1D system=1 angle=15 align=xyz

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

2019