LETY (Statement)


Assign a value to the Y-axis component of the vector variable, position variable, or variable in homogeneous transform matrix.


LETY {<vector variable>|<position variable>|<trans variable>}
= <Y-axis component>


This statement assigns the value of <Y-axis component> on the right-hand side to the Y-axis component of <vector variable>, <position variable> or <trans variable> on the left-hand side.



DEFPOS lp1, lp2
DEFVEC lv1, lv2
LETY lv1 = POSY(lv2)
'Assign the Y-axis component of lv2 to that of lv1
LETY lp1 = POSY(lp2)
'Assign the Y-axis component of lp2 to that of lp1


Top