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
|
True
(-1)
|
the user snapped a position |
False (0)
|
the user pressed the Escape key, or another command was selected |
If the return value is True
,
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).