PC-Dmis 2010 Object Library | Send comments on this topic. | See Object Hierarchy Chart
StartScan Method
See Also

Collapse All Expand All

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.

# 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

  Value | Description
  --- | ---
  PCD_DCC |
  PCD_MANUAL |

  Mode of the scan.
stype

  Value | Description
  --- | ---
  PCD_LINEAR_OPEN |
  PCD_LINEAR_CLOSED |
  PCD_PATCH |
  PCD_MANUALTTP |
  PCD_HPROBE |
  PCD_SECTION |
  PCD_PERIMETER |

  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

  Value | Description
  --- | ---
  PCD_BODY |
  PCD_VARIABLE |
  PCD_LINE |

  Only used for DCC scans. Optional.
dir2

  Value | Description
  --- | ---
  PCD__BODY |
  PCD__LINE |

  Only used for DCC patch scans. Optional.
technique

  Value | Description
  --- | ---
  PCD_FIXED_DELTA |
  PCD_VARIABLE_DELTA |
  PCD_TIME_DELTA |
  PCD_CUTAXIS |

  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

  Value | Description
  --- | ---
  PCD_SINGLEPOINT |
  PCD_MASTERMODE |
  PCD_RELEARNMODE |
  PCD_AUTOCLEARPLANE |
  PCD_HITNOTDISPLAYED |

  Special scan flags. Any of these values may be combined using OR. Optional.

# See Also

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.