PC-DMIS 2019 R2 Object Library
GetHitParams Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
nInitSamples
Required Long variable that gets the number of initial sample hits for the hits in this scan. It always returns zero for basic hits and vector hits.
nPermSamples
Required Long variable that gets the number of permanent sample hits for the hits in this scan. It always returns zero for basic hits and vector hits.
dSpacer
Required Double variable that gets the spacing of the sample hits from the hit center. It always returns zero for basic hits and vector hits.
dIndent
Required Double variable that gets the indent of the sample hits from the hit center. It always returns zero for basic hits, vector hits, and surface.
dDepth
Required Double variable that gets the depth of the sample hits from the hit center. It always returns zero for basic hits, vector hits, and surface.
PCDLRN ActiveX DLL > Scan Object : GetHitParams Method

Glossary Item Box

Description

Gets parameters for the hit type used in the scan

Syntax

Visual Basic
Public Function GetHitParams( _
   ByRef nInitSamples As Long, _
   ByRef nPermSamples As Long, _
   ByRef dSpacer As Double, _
   ByRef dIndent As Double, _
   ByRef dDepth As Double _
) As Boolean

Parameters

nInitSamples
Required Long variable that gets the number of initial sample hits for the hits in this scan. It always returns zero for basic hits and vector hits.
nPermSamples
Required Long variable that gets the number of permanent sample hits for the hits in this scan. It always returns zero for basic hits and vector hits.
dSpacer
Required Double variable that gets the spacing of the sample hits from the hit center. It always returns zero for basic hits and vector hits.
dIndent
Required Double variable that gets the indent of the sample hits from the hit center. It always returns zero for basic hits, vector hits, and surface.
dDepth
Required Double variable that gets the depth of the sample hits from the hit center. It always returns zero for basic hits, vector hits, and surface.

Return Type

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

See Also

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