*setsystem
Sets the element (material) orientation by setting the angle. This angle is measured from the I-J (1-2) edge of the element around the normal of the element. Re-orients and visualizes the element (material) coordinate systems for selected elements.
Syntax
*setsystem entities markmask setangle onlyorient normal_size color
Type
HyperMesh Tcl Modify Command
Description
Sets the element (material) orientation by setting the angle. This angle is measured from the I-J (1-2) edge of the element around the normal of the element. Re-orients and visualizes the element (material) coordinate systems for selected elements.
Inputs
- entities
 - Determines the selected entity, which can only be elements.
 - markmask
 - Determines the selected elements.
 - setangle
 - Determines the constant angle offset.
 - onlyorient
 - 1 -  The new x-element directions are shown as vectors starting from the element
              center.
0 - The new x-element directions are shown as continuous gradient lines starting and ending on free edges.
 - normal_size
 - If onlyorient = 1, this determines the size of the vectors to be displayed.
 - color
 - Determines the color of the vector or line. The color ID number ranges from 1 to 64.
 
Example
To set a constant 45 degree offset for the I-J edge rotation in the element plane of four selected elements and display the projection as blue vectors (color 7) with size = 3:
*createmark(elements,2) 376 377 389 418
*setsystem(elements,2,45,1,3,7)
*vectorsoff()
      The *createmark() and *vectorsoff() commands are required.
Errors
None.