Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
GetMethodParams Method
See Also Send Topic Feedback | See Object Hierarchy Chart

bIn
  Required variable that gets 0 for Inside scans, 1 for Outside scans, and 2 for Plane Circle scans.

bCenteringType
  Required variable for Centering Scans that gets 0 for Axis Centering and 1 for Plane centering.

nCenteringDirection
  Required Long variable that takes a +1 for measurement with the direction of the probe and -1 for against the direction of probe.

dDiameter
  Required Double variable that gets the diameter of the circle or cylinder scan, and zero otherwise.

dArcAngle
  Required Double variable that gets arc angle for circle and cylinder scans.

dDepth
  Required Double variable that gets the depth for cylinder scans, and zero otherwise.

dPitch
  Required Double variable that gets a pitch for cylinder scans.

PCDLRN ActiveX DLL > BasicScan Object : GetMethodParams Method

Glossary Item Box

# Description

Gets the scan method parameters

# Syntax

Visual Basic
    Public Function GetMethodParams( _
       ByRef bIn As ENUM_SCAN_INOUT_TYPES, _
       ByRef bCenteringType As Boolean, _
       ByRef nCenteringDirection As Long, _
       ByRef dDiameter As Double, _
       ByRef dArcAngle As Double, _
       ByRef dDepth As Double, _
       ByRef dPitch As Double _
    ) As Boolean

# Parameters

bIn

  Value | Description
  --- | ---
  SCAN_INNER | Inside scans
  SCAN_OUTER | Outside scans
  SCAN_PLANAR | Plane Circle scans

  Required variable that gets 0 for Inside scans, 1 for Outside scans, and 2 for Plane Circle scans.
bCenteringType
  Required variable for Centering Scans that gets 0 for Axis Centering and 1 for Plane centering.
nCenteringDirection
  Required Long variable that takes a +1 for measurement with the direction of the probe and -1 for against the direction of probe.
dDiameter
  Required Double variable that gets the diameter of the circle or cylinder scan, and zero otherwise.
dArcAngle
  Required Double variable that gets arc angle for circle and cylinder scans.
dDepth
  Required Double variable that gets the depth for cylinder scans, and zero otherwise.
dPitch
  Required Double variable that gets a pitch for cylinder scans.

# Return Type

Boolean value. Boolean returns true if the function succeeds, false if it fails.

# Remarks

Method | GetMethodParams (bIn, bCenteringType, nCenteringDirection, dDiameter, dArcAngle, dDepth, dPitch)
--- | ---
Linear | None
Edge | None
Circle | bIn, , , dDiameter, dArcAngle, dDepth
Cylinder | bIn, , , dDiameter, dArcAngle, dDepth, dPitch
Straight Line | None
Center | , bCenteringType, nCenteringDirection

# See Also

BasicScan Object | BasicScan Members

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