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

Glossary Item Box

Description

Sets parameters for the hit type used in the scan

Syntax

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

Parameters

nInitSamples
Required Long that sets the number of initial sample hits for the hits in this scan. It is ignored for basic hits and vector hits.
nPermSamples
Required Long that sets the number of permanent sample hits for the hits in this scan. It is ignored for basic hits and vector hits.
dSpacer
Required Double that sets the spacing of the sample hits from the hit center. It is ignored for basic hits and vector hits.
dIndent
Required Double that sets the indent of the sample hits from the hit center. It is ignored for basic hits, vector hits, and surface.
dDepth
Required Double that sets the depth of the sample hits from the hit center. It is ignored 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.