Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > OldBasic Object : StartScan Method
ID string of the scan.
Mode of the scan.
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.
Only used for DCC scans. Optional.
Only used for DCC patch scans. Optional.
Only used for manual scans. Optional.
Number of points defining the boundary for the scan. Only used for DCC patch scans. Optional.
Special scan flags. Any of these values may be combined using OR. Optional.
StartScan Method
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