COORDINATE - v14


COOrdinate               on | off, p=<n>, b=<n>, t=<n>

Function

To dynamically display in a text field of a panel the current mouse position in world coordinates and/or the distance from the previous point and/or the angle formed with the previous point.

Parameters

on

 Enable this functionality.
 

off

Disable this functionality.
 

p=<n>

Refers to the panel number.
 

b=<n>

Refers to the button number in the panel.
 

t=<n>

This can have the following values:

1 = x,y,z coordinates

2 = distance

3 = angle

 

Permitted value >= 100  If T=100 then the COORDINATE command calls the hook function in PLNGHOOK.DLL (DYNAINPUT) to calculate the buffer to display. The T-value minus 100 represents the last parameter passed to the hook function "sense", which can be used to change the way to transform the values or to format the output string. 

Examples

coordinate on,p=6,b=1

coordinate on,p=1,b=14,t=3

Notes

On some machines choosing to display all possible information characteristics could decrease the performance of the POLLING command.

See also

panel, option, polling, dynainput, hook, UI Framework