PC-DMIS 2021.2 Object Library
SetScanHitParams Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
htype
INIT_HITS
Number of init sample hits to use. Optional.
PERM_HITS
Number of permanent hits. Optional.
Spacer
Spacer value. Optional.
Depth
Depth value. Optional.
Indent
Indent value. Optional.
flags
For now, just PCD_EXTERIOR or PCD_INTERIOR. Default is PCD_EXTERIOR. Optional.
PCDLRN ActiveX DLL > OldBasic Object : SetScanHitParams Method

Glossary Item Box

Description

Sets scan hit parameters (used in StartScan block)

Syntax

Visual Basic
Public Sub SetScanHitParams( _
   ByVal htype As PCDSCANHITTYPE, _
   ByVal INIT_HITS As Long, _
   ByVal PERM_HITS As Long, _
   ByVal Spacer As Double, _
   ByVal Depth As Double, _
   ByVal Indent As Double, _
   ByVal flags As PCDSCANHITFLAG _
) 

Parameters

htype
ValueDescription
PCD_ANGLEHIT 
PCD_EDGEHIT 
PCD_SURFACEHIT 
PCD_VECTORHIT 
INIT_HITS
Number of init sample hits to use. Optional.
PERM_HITS
Number of permanent hits. Optional.
Spacer
Spacer value. Optional.
Depth
Depth value. Optional.
Indent
Indent value. Optional.
flags
ValueDescription
PCD_EXTERIOR 
PCD_INTERIOR 
For now, just PCD_EXTERIOR or PCD_INTERIOR. Default is PCD_EXTERIOR. Optional.

Remarks

This function is only used for DCC scans and should not be called for manual scans.

See Also

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