PC-DMIS 2019 R2 Object Library
StartScan Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ID
ID string of the scan.
Mode
Mode of the scan.
stype
Type of scan. For DCC scans, stype must be PCD_LINEAR_OPEN, PCD_LINEAR_CLOSED, PCD_SECTION, PCD_PERIMETER, or PCD_PATCH. For manual scans, stype must  be PCD_MANUALTTP or PCD_HPROBE.
dir1
Only used for DCC scans. Optional.
dir2
Only used for DCC patch scans. Optional.
technique
Only used for manual scans. Optional.
num_bnd_pnts
Number of points defining the boundary for the scan. Only used for DCC patch scans. Optional.
flags
Special scan flags. Any of these values may be combined using OR. Optional.
PCDLRN ActiveX DLL > OldBasic Object : StartScan Method

Glossary Item Box

Description

Starts Scan block and sets sets scan parameters

Syntax

Visual Basic
Public Sub StartScan( _
   ByVal ID As String, _
   ByVal Mode As DCCMODE, _
   ByVal stype As PCDSTARTSCANTYPES, _
   ByVal dir1 As PCDSCANDIR1, _
   ByVal dir2 As PCDSCANDIR2, _
   ByVal technique As PCDSCANTECHNIQUE, _
   ByVal num_bnd_pnts As Long, _
   ByVal flags As PCDSTARTSCANFLAGS _
) 

Parameters

ID
ID string of the scan.
Mode
ValueDescription
PCD_DCC 
PCD_MANUAL 
Mode of the scan.
stype
ValueDescription
PCD_HPROBE 
PCD_LINEAR_CLOSED 
PCD_LINEAR_OPEN 
PCD_MANUALTTP 
PCD_PATCH 
PCD_PERIMETER 
PCD_SECTION 
Type of scan. For DCC scans, stype must be PCD_LINEAR_OPEN, PCD_LINEAR_CLOSED, PCD_SECTION, PCD_PERIMETER, or PCD_PATCH. For manual scans, stype must  be PCD_MANUALTTP or PCD_HPROBE.
dir1
ValueDescription
PCD_BODY 
PCD_LINE 
PCD_VARIABLE 
Only used for DCC scans. Optional.
dir2
ValueDescription
PCD__BODY 
PCD__LINE 
Only used for DCC patch scans. Optional.
technique
ValueDescription
PCD_CUTAXIS 
PCD_FIXED_DELTA 
PCD_TIME_DELTA 
PCD_VARIABLE_DELTA 
Only used for manual scans. Optional.
num_bnd_pnts
Number of points defining the boundary for the scan. Only used for DCC patch scans. Optional.
flags
ValueDescription
PCD_AUTOCLEARPLANE 
PCD_HITNOTDISPLAYED 
PCD_MASTERMODE 
PCD_RELEARNMODE 
PCD_SINGLEPOINT 
Special scan flags. Any of these values may be combined using OR. Optional.

See Also

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