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

Collapse All Expand All

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

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

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

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

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

# See Also

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.