Pick Point .
The following example demonstrates how to get the coordinates by picking point (by filter).
Open a new VB project (Standard EXE) in Visual Basic (see example).
Add a command button to Form1.
Paste the following code into Form1:
Private Sub Command1_Click()
Dim X As Double, Y As Double, Z As Double
' in case that the user Press "EXIT" (MMB) then reurn FALSE
If Not gSuite.PickTool.PickPointByFilter(suPtMid, X, Y, Z) Then
MsgBox "No point was selected"
End If
End Sub
Press the F5 key to run the project or on the Tools menu, click Run Project.