*setglobalply

Sets the ply name to review.

Syntax

*setglobalply entity_type mark_id ply_name only_orient normal_size color

Type

HyperMesh Tcl Modify Command

Description

Sets the ply name 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_name
The name 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 through 64.

Example

To review the ply directions for the second ply named "ply45" for the displayed elements with blue vectors of size 3:

*createmark elems 1 displayed
*setglobalply elems 1 "ply45" 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
}