PC-DMIS 2021.2 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 > BasicScan Object : SetHitParams 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 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 © 2021. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.