<< 向前        下一页 >>

ID : 9214

LetF

Function

To assign a value to a figure element (FIG) of position type variable or homogeneous translation type variable.

Syntax

LetF position variable = formula

Guaranteed Entry

Position variable
Designate 位置型 variable or 齐次变换型 variable.
Formula
Designate 整数型 data.

Description

A value specified in formula is assigned to figure element (FIG) of the designated position type variable or homogeneous translation type variable.

Elements other than figure elements (FIG) cannot be changed.

Tvar = t(X, Y, Z, Ox, Oy, Oz, Ax, Ay, Az, tFig)
Pvar = p(X, Y, Z, Ox, Oy, Oz, pFig)

LetF Tvar = Ivar
'Tvar : t(X, Y, Z, Ox, Oy, Oz, Ax, Ay, Az, Ivar)

LetF Pvar = Ivar
'Pvar : p(X, Y, Z, Ox, Oy, Oz, Ivar)

Related Terms

Let, LetP, LetX, LetY, LetZ, LetR, LetRx, LetRy, LetRz, LetO, LetA, LetJ

Attention

It is not judged whether the assigned variable is a value that can be taken as robot's position.

Example

'!TITLE "Assignment to Position Type or Homogeneous Translation Type Figure Component"
' Assign the current posture to aaa
Sub Sample_LetF

  Dim aaa As Position

  ' Assign the current figure component to aaa
  LetF aaa = CurFig

  ' Display the current figure component on the message output window
  PrintDbg aaa

End Sub

ID : 9214

<< 向前        下一页 >>