Get a position from the user. The return type is dependent on the choice of method. GetPos returns whether a position has been snapped. GetPosEx will return the command argument (i.e. Snap, KeyBack, KeyEnter, End).
Both methods allow the use of Snapcodes
for positional input.
Snapped selectable items are stored in the Named List “*snapped”.
GetPos and GetPosEx will store either Cartesian or Spherical Coordinates depending on the map window
Coordinate Reference System.
Visual Basic |
---|
Public Function GetPos( _
ByVal x As Double, _
ByVal y As Double, _
ByVal z As Double _
) As Boolean
|
SIS_ARG_BACKSPACE (2)
|
the user pressed the Backspace key |
SIS_ARG_ENTER (1)
|
the user pressed the Escape key, or another command was selected |
SIS_ARG_POSITION (3) | the user snapped a position |
If the return value is SIS_ARG_POSITION
,
any snapped item will be placed in a special Named List "*snapped".
Available: MD ME MM PySIS
Group:
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).