ID : 274
WorkPos
Function
To return designated work definition data by position type data.
Syntax
WorkPos(work coordinate number)
Guaranteed entry
- Work coordinate number
- Designate a work coordinate number between 0-7 to acquire by integer type data.
Return value
Return work coordinates definition data by position type data. "-1" is assigned to FIG element.
Description
Work coordinates definition data of designated work coordinate number is returned by position type data.
Related Terms
Work, ChangeWork, CurWork, WorkAttribute, Base Coordinates and Work Coordinates, External TCP Function, Displaying and Setting Work Coordinates
Attention
-
Example
'!TITLE "Returning User Coordinates by Position Type"
' Assign the work coordinates of the designated user coordinate number to aaa
Sub Sample_WorkPos
Dim aaa As Position
' Assign setting value of work coordinates of the user coordinate number 1 to aaa
aaa = WorkPos( 1 )
' Display the work coordinates on the message output window
PrintDbg aaa
End Sub
ID : 274