*setply_option
Sets the ply/layer number to review.
Syntax
*setply_option entity_type mark_id ply_number only_orient normal_size color option
Type
HyperMesh Tcl Modify
Description
Sets the ply/layer 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.
- 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.
- option
- Option for review customization. Valid values are:
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_option elems 1 2 1 3 7 1
*vectorsoff
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
11.0.101