TOOLPOS
(Function)

Returns a tool coordinate system as the position type.

TOOLPOS (<Tool coordinate system number>)

Designate <Tool coordinate system number> declared using the TOOL command, and this statement will return a tool coordinate system setting with the position type. In this case, -1 (indefinite) is entered for a FIG component of the position data.
<Tool coordinate system number> tool coordinate system number (1 to 63)

DIM lp1 As Point
|
|
lp1 = TOOLPOS(1)
|
'Assigns the tool coordinate system to lp1.
|