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

Glossary Item Box

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

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