*setply

Syntax

*setply entity_type mark_id ply_number only_orient normal_size color

Type

HyperMesh Tcl Modify Command

Description

Sets the ply number to review. The element ply direction of that ply will be plotted for each selected element with respect to the element (material) orientation. When review is complete, the command *vectorsoff must be run.

Inputs

entity_type
The type of entity to review. Valid values are elements and properties.
mark_id
The ID of the mark containing the entities. Valid values are 1 and 2.
ply_number
The number of the ply to review.
only_orient
0 - the new x-element directions are shown as continuous gradient lines starting and ending on free edges.
1 - the new x-element directions are displayed as vectors starting from the element centroid.
normal_size
If only_orient=1, this defines the size of the displayed vectors.
color
The color of the vectors or lines. Valid values are 1-64.

Example

To review the ply directions for the ply with ID 2 for the displayed elements with blue vectors of size 3:

*createmark elems 1 displayed
*setply elems 1 2 1 3 7
*vectorsoff

Errors

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