PC-DMIS 2019 R2 Object Library
SetFilterParams Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
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.
PCDLRN ActiveX DLL > Scan Object : SetFilterParams Method

Glossary Item Box

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

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.