Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > BasicScan Object : SetFilterParams Method
Required Long that sets the cut axis. It is used only for axis filters. For axis filters, 0 means the X axis, 1 means the Y-axis, and 2 means the Z-axis.
Required Double that sets the maximum increment. For fixed-length filters, this is simply the fixed increment
Required Double that sets the minimum increment.
Required Double that sets the maximum angle.
Required Double that sets the minimum angle.
SetFilterParams Method
Description
This method is provided as a shortcut to set these commonly used scan parameters all at once.
Syntax
Visual Basic
Public Function SetFilterParams( _
   ByVal dCutAxisLocation As Double, _
   ByVal nAxis As Long, _
   ByVal dMaxIncrement As Double, _
   ByVal dMinIncrement As Double, _
   ByVal dMaxAngle As Double, _
   ByVal dMinAngle As Double _
) As Boolean
Parameters
dCutAxisLocation
nAxis
Required Long that sets the cut axis. It is used only for axis filters. For axis filters, 0 means the X axis, 1 means the Y-axis, and 2 means the Z-axis.
dMaxIncrement
Required Double that sets the maximum increment. For fixed-length filters, this is simply the fixed increment
dMinIncrement
Required Double that sets the minimum increment.
dMaxAngle
Required Double that sets the maximum angle.
dMinAngle
Required Double that sets the minimum angle.
Return Type
Boolean value. Boolean returns true if the function succeeds, false if it fails.
Remarks

Filter

SetFilterParams (dCutAxisLocation, nAxis, dMaxIncrement, dMinIncrement, dMaxAngle, dMinAngle)

Distance

,,dMaxIncrement

BodyAxisDistance

,nAxis, dMaxIncrement

VariableDistance

,,dMaxIncrement, dMinIncrement, dMaxAngle, dMinAngle

 

See Also