Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > Scan Object : SetHitParams Method
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.
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.
Required Double that sets the spacing of the sample hits from the hit center. It is ignored for basic hits and vector hits.
Required Double that sets the indent of the sample hits from the hit center. It is ignored for basic hits, vector hits, and surface.
Required Double that sets the depth of the sample hits from the hit center. It is ignored for basic hits, vector hits, and surface.
SetHitParams Method
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