Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
StartFeature Method
See Also Send Topic Feedback | See Object Hierarchy Chart

ftype

ID
  ID string of the feature.

RefID

hits
  Measured and auto features only. The number of hits to take to measure the feature.

rows

inputs
  Constructed features only. The number of features that will be used in the construction. There must be a corresponding number of calls to AddFeature before the EndFeature statement.

flags
  You can use OR to use any of the flags together.

RefPlane

PCDLRN ActiveX DLL > OldBasic Object : StartFeature Method

Glossary Item Box

# Description

Starts Feature block and sets feature parameters

# Syntax

Visual Basic
    Public Sub StartFeature( _
       ByVal ftype As PCDSTARTFEATTYPES, _
       ByVal ID As String, _
       ByVal RefID As String, _
       ByVal hits As Long, _
       ByVal rows As Long, _
       ByVal inputs As Long, _
       ByVal flags As PCDSTARTFEATFLAGS, _
       ByVal RefPlane As WPLANETYPE _
    )

# Parameters

ftype

  Value | Description
  --- | ---
  AUTO__ANGLE_HIT |
  AUTO__CIRCLE |
  AUTO__CORNER_HIT |
  AUTO__CYLINDER |
  AUTO__EDGE_HIT |
  AUTO__ELLIPSE |
  AUTO__ROUND_SLOT |
  AUTO__SPHERE |
  AUTO__SQUARE_SLOT |
  AUTO__SURFACE_HIT |
  AUTO__VECTOR_HIT |
  CONST__ALN_LINE |
  CONST__ALN_PLANE |
  CONST__BF_CIRCLE |
  CONST__BF_CONE |
  CONST__BF_CYLINDER |
  CONST__BF_LINE |
  CONST__BF_PLANE |
  CONST__BF_SPHERE |
  CONST__BFRE_CIRCLE |
  CONST__BFRE_CONE |
  CONST__BFRE_CYLINDER |
  CONST__BFRE_LINE |
  CONST__BFRE_PLANE |
  CONST__BFRE_SPHERE |
  CONST__CAST_CIRCLE |
  CONST__CAST_CONE |
  CONST__CAST_CYLINDER |
  CONST__CAST_LINE |
  CONST__CAST_PLANE |
  CONST__CAST_POINT |
  CONST__CAST_SPHERE |
  CONST__CONE_CIRCLE |
  CONST__CORNER_POINT |
  CONST__DROP_POINT |
  CONST__HIPNT_PLANE |
  CONST__INT_CIRCLE |
  CONST__INT_LINE |
  CONST__INT_POINT |
  CONST__MID_LINE |
  CONST__MID_PLANE |
  CONST__MID_POINT |
  CONST__OFF_LINE |
  CONST__OFF_PLANE |
  CONST__OFF_POINT |
  CONST__ORIG_POINT |
  CONST__PIERCE_POINT |
  CONST__PLTO_LINE |
  CONST__PLTO_PLANE |
  CONST__PROJ_CIRCLE |
  CONST__PROJ_CONE |
  CONST__PROJ_CYLINDER |
  CONST__PROJ_LINE |
  CONST__PROJ_POINT |
  CONST__PROJ_SPHERE |
  CONST__PRTO_LINE |
  CONST__PRTO_PLANE |
  CONST__REV_CIRCLE |
  CONST__REV_CONE |
  CONST__REV_CYLINDER |
  CONST__REV_LINE |
  CONST__REV_PLANE |
  CONST__REV_SPHERE |
  CONST__SCAN_SEG_ARC |
  CONST__SCAN_SEG_LINE |
  CONST__SET |
  MEAS_CIRCLE |
  MEAS_CONE |
  MEAS_CYLINDER |
  MEAS_LINE |
  MEAS_PLANE |
  MEAS_POINT |
  MEAS_SET |
  MEAS_SPHERE |
  MEASURED__CIRCLE |
  MEASURED__CONE |
  MEASURED__CYLINDER |
  MEASURED__LINE |
  MEASURED__PLANE |
  MEASURED__POINT |
  MEASURED__SET |
  MEASURED__SPHERE |
  PCD__CURVE |
  READ__POINT |

ID
  ID string of the feature.
RefID
hits
  Measured and auto features only. The number of hits to take to measure the feature.
rows
inputs
  Constructed features only. The number of features that will be used in the construction. There must be a corresponding number of calls to AddFeature before the EndFeature statement.
flags

  Value | Description
  --- | ---
  PCD__BACK |
  PCD__BOTTOM |
  PCD__EXTERIOR | Exterior angle hit. Only used for auto angle hits. Do not or with PCD_INTERIOR. Default.
  PCD__FRONT |
  PCD__INTERIOR | Interior angle hit. Only used for auto angle hits. Should not be combined with PCD_EXTERIOR.
  PCD__LEFT |
  PCD__RECALC_NOMS | Indicates that the theoretical values should be recalculated based on the theoretical hit values.
  PCD__RIGHT |
  PCD__TOP |
  PCD__XAXIS |
  PCD__XMINUS |
  PCD__XPLUS |
  PCD__YAXIS |
  PCD__YMINUS |
  PCD__YPLUS |
  PCD__ZAXIS |
  PCD__ZMINUS |
  PCD__ZPLUS |
  PCD_ANGLE | Cone reports its angle as opposed to length. Should not be combined with PCD_LENGTH.
  PCD_AUTOMOVE | Causes move points to be automatically generated for auto features.
  PCD_BND | Bound line. Should not be combined with PCD_UNBND.
  PCD_FINDHOLE | For Auto Circles. Automatic finding of holes.
  PCD_HEM | For auto edge points only. Should not be ored with PCD_TRIM.
  PCD_IN | Inside circle, sphere, cone, or cylinder. Should not be combined with PCD_OUT.
  PCD_LENGTH | Cone reports its length as opposed to angle. Do not or with PCD_ANGLE. Default.
  PCD_LINE_3D | 3D line. Used only for best fit lines. Default is a 2D line.
  PCD_MEASURE_BOTH | Sets measure order. For auto edge points only.
  PCD_MEASURE_EDGE | Sets measure order. For auto edge points only.
  PCD_MEASURE_SURFACE | Sets measure order. For auto edge points only. Default.
  PCD_MEASURE_WIDTH | Flag for Auto Square Slots.
  PCD_NORM | For auto circles, cylinders, ellipses, and slots. Do not combine with PCD_PIN. Default.
  PCD_OUT | Outside circle, sphere, cone, or cylinder. Should not be used with PCD_IN. Default.
  PCD_PIN | For auto circles, cylinders, ellipses, and slots. Do not or with PCD_NORM.
  PCD_POLR | Values are reported in cylindrical coordinates. Should not be combined with PCD_RECT.
  PCD_READPOS | Turn read position on. For auto circles, cylinders, ellipses, and slots. Defaults to off.
  PCD_RECT | Values are in rectangular coordinates. Should not be combined with PCD_POLR. Default.
  PCD_TRIM | For auto edge points only. Should not be ored with PCD_HEM. Default.
  PCD_UNBND | Unbound line. Should not be ored with PCD_BND. Default.

  You can use OR to use any of the flags together.
RefPlane

  Value | Description
  --- | ---
  PCD_BACK |
  PCD_BOTTOM |
  PCD_FRONT |
  PCD_LEFT |
  PCD_RIGHT |
  PCD_TOP |

# See Also

OldBasic Object | OldBasic Members

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