Click or drag to resize
CEMAPiGetPoint3D Method
Returns the coordinates of a user selected point.

Available since Oasis montaj version: 9.1
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
This will wait for user to select a point.
Syntax
public int iGetPoint3D(
	string str_val,
	ref double x,
	ref double y,
	ref double z
)

Parameters

str_val
Type: SystemString
User prompt string
x
Type: SystemDouble
X coordinate in current view user units.
y
Type: SystemDouble
Y
z
Type: SystemDouble
Z

Return Value

Type: Int32
0 if point returned. 1 if user used right mouse and then Done. 2 if user cancelled. 3 if capture is lost.
See Also