PC-DMIS 2022.1 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
ValueDescription
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
ValueDescription
PCD__BACK 
PCD__BOTTOM 
PCD__EXTERIORExterior angle hit. Only used for auto angle hits. Do not or with PCD_INTERIOR. Default.
PCD__FRONT 
PCD__INTERIORInterior angle hit. Only used for auto angle hits. Should not be combined with PCD_EXTERIOR.
PCD__LEFT 
PCD__RECALC_NOMSIndicates 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_ANGLECone reports its angle as opposed to length. Should not be combined with PCD_LENGTH.
PCD_AUTOMOVECauses move points to be automatically generated for auto features.
PCD_BNDBound line. Should not be combined with PCD_UNBND.
PCD_FINDHOLEFor Auto Circles. Automatic finding of holes.
PCD_HEMFor auto edge points only. Should not be ored with PCD_TRIM.
PCD_INInside circle, sphere, cone, or cylinder. Should not be combined with PCD_OUT.
PCD_LENGTHCone reports its length as opposed to angle. Do not or with PCD_ANGLE. Default.
PCD_LINE_3D3D line. Used only for best fit lines. Default is a 2D line.
PCD_MEASURE_BOTHSets measure order. For auto edge points only.
PCD_MEASURE_EDGESets measure order. For auto edge points only.
PCD_MEASURE_SURFACESets measure order. For auto edge points only. Default.
PCD_MEASURE_WIDTHFlag for Auto Square Slots.
PCD_NORMFor auto circles, cylinders, ellipses, and slots. Do not combine with PCD_PIN. Default.
PCD_OUTOutside circle, sphere, cone, or cylinder. Should not be used with PCD_IN. Default.
PCD_PINFor auto circles, cylinders, ellipses, and slots. Do not or with PCD_NORM.
PCD_POLRValues are reported in cylindrical coordinates. Should not be combined with PCD_RECT.
PCD_READPOSTurn read position on. For auto circles, cylinders, ellipses, and slots. Defaults to off.
PCD_RECTValues are in rectangular coordinates. Should not be combined with PCD_POLR. Default.
PCD_TRIMFor auto edge points only. Should not be ored with PCD_HEM. Default.
PCD_UNBNDUnbound line. Should not be ored with PCD_BND. Default.
You can use OR to use any of the flags together.
RefPlane
ValueDescription
PCD_BACK 
PCD_BOTTOM 
PCD_FRONT 
PCD_LEFT 
PCD_RIGHT 
PCD_TOP 

See Also

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