PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
SetFilterParams Method
See Also

Collapse All Expand All

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.

# Description

Sets parameters for filtering scan data 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

BasicScan Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.