LETRZ
(Statement)
Assign a value to the Z-axis rotation component of the position variable.
LETRZ <position variable> = <Z-axis rotation angle>
This statement assigns the value of <Z-axis rotation angle> on the right-hand side to the Z-axis rotation component of <position variable> on the left-hand side.
DEFPOS lp1, lp2, lp3
|
|
DEFSNG lf1, lf2
|
|
LETRZ lp1 = POSRZ(lp3)
|
'Assign the Z-axis rotation component of lp3 to that of lp1
|
LETRZ lp2 = lf1 - lf2
|
'Assign the value of (lf1 - lf2) to the Z-axis rotation
'component of lp2
|