SelectPoints

Top  Previous  Next

 

SelectPoints (Method)

 

Activates the Select Points process with a specific key and the number of the points to be selected

 

Syntax:

Function SelectPoints(sSelectId As String, lPointsToSelect As Integer, ExistX() As Single, ExistY() As Single, ExistZ() As Single, fBoxOn As Boolean, fNoSnapAndOrtho As Boolean) As Boolean

 

The SelectPoints method syntax consists of the following:

Parameter

Data Type

Description

sSelectId

String

Is the key name you want to come in the event SelectedPoints after the selection of a point

lPointsToSelect

Integer

Is the the total number of the points that you want to select

ExistX()

Single

An array for the x coordinates of the points that you want to be preselected

ExistY()

Single

An array for the y coordinates of the points that you want to be preselected

ExistZ()

Single

An array for the z coordinates of the points that you want to be preselected

fBoxOn

Boolean

A Boolean expression that defines if in the case where we want two points, the second point will be a parallelogram apex

fNoSnapAndOrtho

Boolean

A Boolean  parameter that determines if Ortho and Snap are enabled during the selection of points

 

Return value:

Boolean - True on success, false on error.

 

Example