TLSet Method
Description
Defines a tool coordinate system.
Syntax
Sub TLset (ToolNumber As Integer , Point As SpelPoint)
Sub TLset ( ToolNumber As Integer, XCoord As Single, YCoord As Single, ZCoord As Single,
UCoord As Single, VCoord As Single, WCoord As Single )
Parameters
- ToolNumber
An integer expression (1 to 15) indicating which of the 15 tools to define. Tool 0 is the default tool. (Tool 0 is the default tool and cannot be modified.) - Point
A SpelPoint indicating the point data. - XCoord
The tool coordinate system origin X coordinate. - YCoord
The tool coordinate system origin Y coordinate. - ZCoord
The tool coordinate system origin Z coordinate. - UCoord
The tool coordinate system rotation about the Z axis. - VCoord
The tool coordinate system rotation about the Y axis. - WCoord
The tool coordinate system rotation about the X axis.
See Also
Arm Method, ArmSet Method, GetTool Method, Tool Method
TLSet Example
VB Example:
m_spel.TLSet(1, .5, 4.3, 0, 0, 0, 0)
C# Example:
m_spel.TLSet(1, .5, 4.3, 0, 0, 0, 0);