Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > Scan Object : SetFilterParams Method
Used for Manual scans with Filter property set to BSF_BODYAXISDISTANCE.
Long variable that gets the cut axis. Returns non-zero only for axis filters. For axis filters, 0 means the X axis, 1 means the Y-axis, and 2 means the Z-axis.
Double variable that gets the maximum increment. For fixed-length filters, this is simply the fixed increment. This is the Time delta values in case the filter is BSF_TIME_DELTA or BSF_VARIABLEDISTANCE for Manual scans.
Double variable that gets the minimum increment for Variable Distance Filters. This is the Drop Point distance when a Manual scan is being used with the filter set to BSF_VARIABLEDISTANCE.
Double variable that gets the maximum angle used in Variable Distance Filters.
Double variable that gets the minimum angle used in Variable Distance Filters.
SetFilterParams Method
Description
Sets parameters for filtering scan data
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
Used for Manual scans with Filter property set to BSF_BODYAXISDISTANCE.
nAxis
Long variable that gets the cut axis. Returns non-zero only for axis filters. For axis filters, 0 means the X axis, 1 means the Y-axis, and 2 means the Z-axis.
dMaxIncrement
Double variable that gets the maximum increment. For fixed-length filters, this is simply the fixed increment. This is the Time delta values in case the filter is BSF_TIME_DELTA or BSF_VARIABLEDISTANCE for Manual scans.
dMinIncrement
Double variable that gets the minimum increment for Variable Distance Filters. This is the Drop Point distance when a Manual scan is being used with the filter set to BSF_VARIABLEDISTANCE.
dMaxAngle
Double variable that gets the maximum angle used in Variable Distance Filters.
dMinAngle
Double variable that gets the minimum angle used in Variable Distance Filters.
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