Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
GetToggleValue Property
See Also Send Topic Feedback | See Object Hierarchy Chart

DataType
  ENUM_FIELD_TYPES enumeration indicating the field from which to get the value.

TypeIndex
  Long value used to indicate which instance of the supplied field type to use when an object has more than one instance of a specified field type. In these cases, the TypeIndex must not be greater than the current number of fields of the that type + 1 and TypeIndex must be greater than 1. For fields that allow only a single value, the TypeIndex is 0.

PCDLRN ActiveX DLL > Command Object : GetToggleValue Property

Glossary Item Box

# Description

This read-only property checks a command's field and returns 0 if it isn't a toggle field. It also returns 0 if the field doesn't exist. Otherwise, it returns a the current toggle index value, with 1 as the base index value.

It takes two parameters. The first is an enumerated field type value to determine what field to check in a command, and the second is the TypeIndex.

# Syntax

Visual Basic
    Public Property GetToggleValue( _
       ByVal DataType As ENUM_FIELD_TYPES, _
       ByVal TypeIndex As Long _
    ) As Long

# Parameters

DataType

  Value | Description
  --- | ---
  ABBE |
  ABOVEBELOW_CONFIG |
  ADDITIONAL_CHART |
  ALIGN_LIST |
  ANGLE_COMP_TOGGLE |
  ANGLE_OFFSET |
  ANGLE_OFFSET_2 |
  ANGULARITY_NOM_ANGLE |
  ANGVEC_I |
  ANGVEC_J |
  ANGVEC_K |
  ARROW_DENSITY |
  ARROW_MULTIPLIER |
  ARTICULATEDARM_TYPE |
  AUTO_CLEAR_PLANE |
  AUTO_DEV_DIRECTION |
  AUTO_EXPOSURE |
  AUTO_INTENSITY |
  AUTO_ONERROR_TYPE |
  AUTO_PH9 |
  AUTO_PRINT |
  AUTO_ROTARY |
  AUTOBEEPING |
  AUTOFIT_CONSTRAINT |
  AUTOTOLZONE |
  AUTOTRIGGERONOFF |
  AVERAGE_ERROR |
  AXIS |
  AXIS_DESCRIPTION |
  AXIS_MINUS_TOL |
  AXIS_NOMINAL |
  AXIS_PLUS_TOL |
  BA_FEAT_APEX_ANGLE |
  BA_FEAT_DEV_X |
  BA_FEAT_DEV_Y |
  BA_FEAT_DEV_Z |
  BA_FEAT_DEV3D |
  BA_FEAT_POINTING_ERR |
  BA_FEAT_RMS |
  BA_FEAT_SOURCE |
  BA_FEAT_X |
  BA_FEAT_Y |
  BA_FEAT_Z |
  BA_FEATURE |
  BA_RMS |
  BA_SOLUTION_OPTIONS |
  BA_SOLUTION_STATUS |
  BA_SOLUTION_TYPE |
  BA_STATION |
  BA_STATION_LOCKED |
  BA_STATION_ORIENTED |
  BA_STATION_ROTX |
  BA_STATION_ROTY |
  BA_STATION_ROTZ |
  BA_STATION_X |
  BA_STATION_Y |
  BA_STATION_Z |
  BA_VARIANCE |
  BA_WARNINGS |
  BF_MATH_TYPE |
  BOUND_TYPE |
  BOUNDARY_OFFSET | Gets and sets the boundary offset distance during a Void Detection.
  BOUNDARY_POINT_X |
  BOUNDARY_POINT_Y |
  BOUNDARY_POINT_Z |
  BSMETHOD_TYPE |
  BUFFER_SIZE_TYPE |
  CAD_COMP |
  CAD_GRAPH_ANALYSIS |
  CAD_PLANAR_SEGREGATION_OFFSET |
  CAD_TOLERANCE |
  CALC_STYLE_FILE |
  CENTER_POINT |
  CENTER_ROTATION_MEAS |
  CENTER_ROTATION_THEO |
  CHART_SUB_TYPE |
  CHART_TYPE |
  CIRC_TYPE |
  CLEARANCE_DISTANCE |
  CLOCK_WISE |
  COL132_TYPE |
  COLUMN_ID |
  COMMAND_STRING |
  COMMAND_TYPE |
  COMMENT_FIELD |
  COMMENT_INPUT |
  COMMENT_TYPE |
  COMPOSITE |
  CONE_CONVEX_TYPE |
  CONE_LENGTH_ANGLE_TYPE |
  CONICAL_CONTROL_ELEMENT |
  CONICITY_CIRCULARITY |
  CONICITY_CIRCULARITY_TOGGLE |
  CONSTRAINT_TYPE |
  CONTROL_ELEMENT |
  COORD_TYPE |
  COP_BOOLEANTYPE |
  COP_COLORMAP |
  COP_COPLEMENT |
  COP_EXPORTFILETYPE |
  COP_FILTER |
  COP_IMPORTFILETYPE |
  COP_SELECTIONTYPE |
  COP_SIZE |
  COP_TYPE |
  CPOINT_DIAM |
  CPOINT_F_SCANSPEED |
  CPOINT_I |
  CPOINT_J |
  CPOINT_K |
  CPOINT_SCAN_CROSS_TOTAL |
  CPOINT_SCAN_DENSITY |
  CPOINT_TYPE |
  CPOINT_X |
  CPOINT_Y |
  CPOINT_Z |
  CREATE_WEIGHTS |
  CURVE_TYPE |
  CUSTOMIZED_DRF |
  CYLINDER_STUD_TYPE |
  DATA_MEM_PAGES |
  DATA_READ_LOCK |
  DATA_WRITE_LOCK |
  DATUM_FEATURE |
  DATUM_TYPE |
  DATUM_WORKPLANE |
  DATUM1_MMB_SIZE |
  DATUM1_MMB_SIZE2 |
  DATUM1_MODIFIER |
  DATUM1_MODIFIER2 |
  DATUM2 |
  DATUM2_MMB_SIZE |
  DATUM2_MMB_SIZE2 |
  DATUM2_MODIFIER |
  DATUM2_MODIFIER2 |
  DATUM3_MMB_SIZE |
  DATUM3_MMB_SIZE2 |
  DATUM3_MODIFIER |
  DATUM3_MODIFIER2 |
  DB_CHART_NAME |
  DB_QUERY_OP |
  DB_SOURCE_NAME |
  DB_SOURCE_TYPE |
  DEFAULT_PATH_TYPE |
  DELETE_TYPE |
  DESCRIPTION |
  DESCRIPTION2 |
  DEST_EXPR |
  DEV_DIAM |
  DEV_MAX |
  DEV_PERPEN_CENTERLINE |
  DEV_THRESHOLD |
  DEV_X |
  DEV_Y |
  DEV_Z |
  DEVIATION_ANGLE |
  DEVIATION_SYMBOLS |
  DIAGNOSTICS_TYPE |
  DIGIT_COUNT |
  DIM_AXIS_ITEM_NUMBER |
  DIM_BONUS |
  DIM_BOTTOM |
  DIM_DEVIATION |
  DIM_HALF_ANGLE |
  DIM_HEADING |
  DIM_ID |
  DIM_INFO_LOC |
  DIM_INFO_ORDER |
  DIM_INFO_TP_LOC |
  DIM_ITEM_NUMBER |
  DIM_LENGTH |
  DIM_LENGTH2 |
  DIM_MAX |
  DIM_MEASURED |
  DIM_MIN |
  DIM_OUTTOL |
  DIM_PLANE_PROJECTION_LENGTH |
  DIM_PLANE_PROJECTION_LENGTH2 |
  DIM_PLANE_PROJECTION_TYPE |
  DIM_PLANE_PROJECTION_TYPE2 |
  DIM_PLANE_PROJECTION_WIDTH |
  DIM_PLANE_PROJECTION_WIDTH2 |
  DIM_RPT_COLUMN_HDR |
  DIM_RPT_DATUM |
  DIM_RPT_DEVPERCENT |
  DIM_RPT_DEVPERCENT_NOM |
  DIM_RPT_DEVPERCENT2 |
  DIM_RPT_GRAPHIC |
  DIM_RPT_ISBILATERAL |
  DIM_RPT_ISDATUM |
  DIM_RPT_NUMZONES |
  DIM_RPT_TOLERANCECOLOR1 |
  DIM_RPT_TOLERANCECOLOR2 |
  DIM_RPT_USETWODEVIATIONS |
  DIM_TEXT |
  DIM_TEXT_OPTIONS |
  DIM_TOP |
  DISPLAY_ADVANCED_PARAMETERS |
  DISPLAY_HITS |
  DISPLAY_ID |
  DISPLAY_PROBE_PARAMETERS |
  DISPLAY_TRACE |
  DISPLAY_TRACKER_PARAMETERS |
  DISPLAY_TYPE |
  DISTANCE |
  DRF_COLUMN_HDR |
  DRF_ROTATIONX |
  DRF_ROTATIONY |
  DRF_ROTATIONZ |
  DRF_SEGNAME |
  DRF_SHIFTX |
  DRF_SHIFTY |
  DRF_SHIFTZ |
  DRF_TBLHDR |
  DTYPE_LEAPFROGFULLPARTIAL |
  DTYPE_LEAPFROGNUMHITS |
  DTYPE_LEAPFROGTYPE |
  ECOND_HUMIDITY |
  ECOND_PRESSURE |
  ECOND_PRESSURE_UNIT |
  ECOND_TEMP |
  EDGEVEC_MEAS_I |
  EDGEVEC_MEAS_J |
  EDGEVEC_MEAS_K |
  EDGEVEC_TARG_I |
  EDGEVEC_TARG_J |
  EDGEVEC_TARG_K |
  EDGEVEC_THEO_I |
  EDGEVEC_THEO_J |
  EDGEVEC_THEO_K |
  END_ANG |
  END_NUM |
  ERROR_LABEL |
  ERROR_MODE |
  ERROR_TYPE |
  EXCLUSION_ZONE |
  EXECUTE |
  EXPORT_CAD_DEV |
  EXTRUSION |
  F_AUTOMOVE |
  F_BOXLENGTH |
  F_BOXWIDTH |
  F_CHECK |
  F_CHECKDISTANCE |
  F_CIRCRADIN |
  F_CIRCRADOUT |
  F_CORNER_RADIUS |
  F_DEPTH |
  F_END_OFFSET |
  F_ENDING_DEPTH |
  F_INCREMENT |
  F_INDENT |
  F_LOCATION |
  F_MAXACCELX |
  F_MAXACCELY |
  F_MAXACCELZ |
  F_MINUS_TOL |
  F_MOVESPEED |
  F_OFFSET |
  F_PITCH |
  F_PLUS_TOL |
  F_PREHIT |
  F_RETRACT |
  F_SCANSPEED |
  F_SIZE |
  F_SPACER |
  F_THICKNESS |
  F_THICKNESS_EDGE |
  F_TOLERANCE |
  F_TOUCHSPEED |
  FAIL_ON_EXIST |
  FASTPROBEMODE |
  FCF_RUNOUT_TYPE |
  FCF_STANDARD_TYPE |
  FCF_TOL_ZONE_TYPE |
  FEAT_ITEM_NUMBER |
  FEAT_TYPE |
  FIELD_WIDTH |
  FILE_COMMAND_TYPE |
  FILE_NAME |
  FILE_POINTER |
  FILTER_LINES_TOGGLE |
  FILTER_TYPE |
  FIND_HOLE_PERCENT |
  FIND_NADIR |
  FIND_NOM_AXIS_TYPE |
  FIND_NOMS_TYPE |
  FINDHOLE_TYPE |
  FINDNOMS_BESTFIT |
  FINDNOMS_ONLYSELECTED |
  FIRST_DIAMETER |
  FIRST_DIAMETER_OFFSET |
  FIT |
  FIXTURE_TOL |
  FIXTURE_TYPE |
  FLY_MODE_TYPE |
  FORM_TOLERANCE |
  FOUR_AXIS_SCANNING |
  GAGE_SEARCH_ZONE |
  GAGE_TIP_HEIGHT |
  GAGE_TIP_SHAPE |
  GAGE_TIP_WIDTH |
  GAGE_TIP2_HEIGHT |
  GAGE_TIP2_WIDTH |
  GAP_ONLY_TYPE |
  GDT_SYMBOL |
  GDT_SYMBOL2 |
  GEN_ALIGN_TYPE |
  GEN_FEAT_TYPE |
  GRAPH_ANALYSIS |
  GRAPH_ANALYSIS_MINUS_TOL |
  GRAPH_ANALYSIS_PLUS_TOL |
  GRAPH_ANALYSIS_POINT_SIZE |
  GRAPH_OPTION |
  GRID |
  HIGH_ACCURACY |
  HIGH_THRESHOLD |
  HISTOGRAM |
  HIT_RMS |
  HIT_TIMESTAMP |
  HIT_TYPE |
  HITINT_TYPE |
  HORIZONTAL_CLIPPING |
  ID |
  IGNOREMOTIONERRORS_TYPE |
  ILLUM_BULB_INTENSITY_EDGE | This field holds the illumination intensity for edge features.
  ILLUM_BULB_INTENSITY_SURFACE | This field holds the illumination intensity for surface features.
  ILLUM_CALOVERRIDE_TOGGLE_EDGE |
  ILLUM_CALOVERRIDE_TOGGLE_SURFACE |
  ILLUM_OFFON_TOGGLE_EDGE |
  ILLUM_OFFON_TOGGLE_SURFACE |
  INCIDENCE_ANGLE |
  INDEX_END |
  INDEX_START |
  INIT_HITS |
  INLINE_LEGACY_REPORT |
  INNER_SPACER |
  INOUT_TYPE |
  INTERNAL_EXTERNAL |
  IOCHANNEL_NUMBER |
  IOCHANNEL_PULSE_DURATION |
  IOCHANNEL_PULSE_INTERVAL |
  IOCHANNEL_PULSE_WIDTH |
  ISLAND_AI |
  ISLAND_AJ |
  ISLAND_AK |
  ISLAND_CLEARANCEDIST |
  ISLAND_DIAM |
  ISLAND_I |
  ISLAND_J |
  ISLAND_K |
  ISLAND_LENGTH |
  ISLAND_TYPE |
  ISLAND_WIDTH |
  ISLAND_X |
  ISLAND_Y |
  ISLAND_Z |
  ITEM_USED |
  ITERATE_COLUMNS |
  JUMP_HOLE |
  JUMP_HOLE_FLAG |
  LABEL_ID |
  LASER_CLIP_LEFT_DIST |
  LASER_CLIP_LOW_DIST |
  LASER_CLIP_RIGHT_DIST |
  LASER_CLIP_UP_DIST |
  LASER_EXPOSURE |
  LASER_FILTER_NEIGHBOR_NUM |
  LASER_FILTER_TOGGLE |
  LASER_FILTER_TOL_ABOVE |
  LASER_FILTER_TOL_BELOW |
  LASER_FILTER_TOL_RIGHT |
  LASER_FREQUENCY |
  LASER_INTENSITY |
  LASER_PIXEL_TOGGLE |
  LASER_STRIPE_OVERLAP |
  LASER_STRIPE_OVERSCAN |
  LEADER_LINE_ID |
  LEFTYRIGHTY_CONFIG |
  LEVEL_REF_ID |
  LIN_POL_FILT_TYPE |
  LINE1_BONUS |
  LINE1_CALLOUT |
  LINE1_COLUMN_HDR |
  LINE1_DEV |
  LINE1_DEVPERCENT |
  LINE1_DEVPERCENT_NOM |
  LINE1_DEVPERCENT2 |
  LINE1_FEATNAME |
  LINE1_ISBILATERAL |
  LINE1_MAX |
  LINE1_MEAS |
  LINE1_MIN |
  LINE1_MINUSTOL |
  LINE1_NOMINAL |
  LINE1_NUMZONES |
  LINE1_OUTTOL |
  LINE1_PLUSTOL |
  LINE1_TBLHDR |
  LINE1_USE2DEVIATIONS |
  LINE2_AXIS |
  LINE2_BONUS |
  LINE2_CALLOUT |
  LINE2_COLUMN_HDR |
  LINE2_DATUMA_DOF |
  LINE2_DATUMB_DOF |
  LINE2_DATUMC_DOF |
  LINE2_DATUMSHFT |
  LINE2_DEV |
  LINE2_DEVANG |
  LINE2_DEVPERCENT |
  LINE2_DEVPERCENT_NOM |
  LINE2_DEVPERCENT2 |
  LINE2_FEATNAME |
  LINE2_FEATNAME_PROFILE |
  LINE2_ISBILATERAL |
  LINE2_ISPLANAR |
  LINE2_MAX |
  LINE2_MEAS |
  LINE2_MIN |
  LINE2_MINUSTOL |
  LINE2_NOMINAL |
  LINE2_NUMZONES |
  LINE2_OUTTOL |
  LINE2_PLANAR_OPEN_IN_X |
  LINE2_PLANAR_XDEV |
  LINE2_PLANAR_XTOL |
  LINE2_PLANAR_YDEV |
  LINE2_PLANAR_YTOL |
  LINE2_PLUSTOL |
  LINE2_TBLHDR |
  LINE2_TOL |
  LINE2_UNUSEDZONE |
  LINE2_USE2DEVIATIONS |
  LINE3_BONUS |
  LINE3_CALLOUT |
  LINE3_COLUMN_HDR |
  LINE3_DATUMA_DOF |
  LINE3_DATUMB_DOF |
  LINE3_DATUMC_DOF |
  LINE3_DATUMSHFT |
  LINE3_DEV |
  LINE3_DEVANG |
  LINE3_DEVPERCENT |
  LINE3_DEVPERCENT_NOM |
  LINE3_DEVPERCENT2 |
  LINE3_FEATNAME |
  LINE3_ISBILATERAL |
  LINE3_ISPLANAR |
  LINE3_MAX |
  LINE3_MEAS |
  LINE3_MIN |
  LINE3_MINUSTOL |
  LINE3_NOMINAL |
  LINE3_NUMZONES |
  LINE3_OUTTOL |
  LINE3_PLANAR_OPEN_IN_X |
  LINE3_PLANAR_XDEV |
  LINE3_PLANAR_XTOL |
  LINE3_PLANAR_YDEV |
  LINE3_PLANAR_YTOL |
  LINE3_PLUSTOL |
  LINE3_TBLHDR |
  LINE3_TOL |
  LINE3_UNUSEDZONE |
  LINE3_USE2DEVIATIONS |
  LOAD_TYPE |
  LOCAL_SIZE_OPTION |
  LOCATION_TOLERANCE |
  LOCATOR_BMP |
  LOCATOR_WAV |
  LOW_FORCE |
  LOW_THRESHOLD |
  LOWER_MODIFIER |
  LOWER_SIZE |
  LOWER_TOLERANCE |
  MACHINE_TYPE |
  MAGNIFICATION |
  MAN_RETRACT |
  MANUAL_FINE_PROBING |
  MANUAL_PREPOSITION |
  MATERIAL_COEFFICIENT |
  MAX_ANGLE |
  MAX_FORCE |
  MAX_INCREMENT |
  MEAN |
  MEAS_A |
  MEAS_A2 |
  MEAS_ANGLE |
  MEAS_AREA |
  MEAS_DEPTH |
  MEAS_DIAM |
  MEAS_EA |
  MEAS_EH |
  MEAS_EI |
  MEAS_EJ |
  MEAS_EK |
  MEAS_END_ANG |
  MEAS_ER |
  MEAS_EX |
  MEAS_EY |
  MEAS_EZ |
  MEAS_FLUSH |
  MEAS_GAP |
  MEAS_H |
  MEAS_H2 |
  MEAS_HEIGHT |
  MEAS_I |
  MEAS_J |
  MEAS_K |
  MEAS_LENGTH |
  MEAS_MINOR_AXIS |
  MEAS_MINOR_DIAMETER |
  MEAS_PERIMETER |
  MEAS_R |
  MEAS_R2 |
  MEAS_RADIUS |
  MEAS_SA |
  MEAS_SH |
  MEAS_SI |
  MEAS_SJ |
  MEAS_SK |
  MEAS_SLOTVEC_I |
  MEAS_SLOTVEC_J |
  MEAS_SLOTVEC_K |
  MEAS_SR |
  MEAS_START_ANG |
  MEAS_SX |
  MEAS_SY |
  MEAS_SZ |
  MEAS_WIDTH |
  MEAS_X |
  MEAS_X2 |
  MEAS_Y |
  MEAS_Y2 |
  MEAS_Z |
  MEAS_Z2 |
  MEASURE_ALL_FEATURES |
  MEASURE_ORDER_TYPE |
  MEASURED_2D3D_TYPE |
  MEASUREMENT_STRATEGY |
  MEASURMENT_STRATEGY |
  MEASVEC_I |
  MEASVEC_J |
  MEASVEC_K |
  MERGE |
  MESH_COP_TYPE |
  MESH_HOLE_OPTION_TYPE |
  MESH_MAXLENGTHTRIANGLETOFILLHOLE |
  MESH_NOISE_REDUCTION_TYPE |
  MESH_REFINE_DEVIATIONERROR |
  MESH_REFINE_MESH |
  MESH_REFINE_MINTRIANGLESIZE |
  MESH_TRIANGLES_NUM |
  MESH_VERTICES_NUM |
  METHOD_TYPE |
  MIDPOINT_X |
  MIDPOINT_Y |
  MIDPOINT_Z |
  MIN_ANGLE |
  MIN_INCREMENT |
  MINIMUMAVERAGEDISTANCE |
  MINOR_WORD_TOGGLE |
  MODE_TYPE |
  MODIFIER_LIST |
  MOVE_TYPE |
  N_CONTROLPOINTS |
  N_HITS |
  N_INIT_HITS_TYPE |
  N_PERM_HITS_TYPE |
  N_POINTS |
  N_RINGS |
  N_ROWS |
  N_SIDES |
  NEW_STATS_DIR |
  NEW_TIP |
  NO_APPROACH_VECTOR_FLIP |
  NOFLIPFLIP_CONFIG |
  NOMINAL |
  NOMINAL_COLOR |
  NORM_RELEARN |
  NSIGMA_FILTER |
  NUM_CONTROL_POINTS |
  NUM_FIT_POINTS |
  NUM_ITERATIONS |
  NUM_RETURN_DATA |
  OFFSET_LINE_METHOD |
  OFFSET_TOLERANCE |
  OFFSET_TYPE |
  OLD_TIP |
  ONOFF_TYPE |
  OPERATOR_NORM_MATH_TYPE |
  OPERTYPE |
  ORIENTATION_ORIGIN_TOGGLE |
  ORIGIN |
  ORIGIN_REF_ID |
  OUTER_SPACER |
  OUTLIER |
  OUTPUT_DMIS_REPORT |
  OUTPUT_FEAT_W_DIMENS |
  OUTPUT_FEATURE_NOMS |
  OUTPUT_TO_REPORT |
  OUTPUT_TYPE |
  OVERRIDE |
  OVERWRITE |
  PART_NAME |
  PATH_TYPE |
  PATTERN_TYPE |
  PAUSE_EXECUTION |
  PERCENTAGE |
  PERIMETER_BOUNDARY_TYPE |
  PERM_HITS |
  PERP_PARALLEL_TYPE |
  PERUNIT_LENGTH |
  PERUNIT_STEPSIZE |
  PERUNIT_WIDTH |
  PINVEC_I |
  PINVEC_J |
  PINVEC_K |
  PLAN_CREATE_TIME |
  PLANE_CONSTRAINT_TYPE |
  POINT_INFO_HEADING |
  POINTINFO_FEATURE_OR_DIMENSION_SYMBOL |
  POINTINFO_FEATURE_OR_DIMENSION_TYPE |
  POINTINFO_FILTER_DEVIATION |
  POINTINFO_FILTER_DEVIATION_NUMBER |
  POINTINFO_FILTER_INTERVAL |
  POINTINFO_FILTER_INTERVAL_NUMBER |
  POINTINFO_FILTER_MINMAX |
  POINTINFO_FILTER_OUTTOL |
  POINTINFO_FILTER_WORST |
  POINTINFO_FILTER_WORST_NUMBER |
  POINTINFO_HITNUMBER |
  POLAR_VECTOR_COMPENSATION |
  POS_REPORT_AXIS_X |
  POS_REPORT_AXIS_Y |
  POS_REPORT_AXIS_Z |
  POS_REPT_DISPLAY_OPTION |
  POSITION_SEGMENT |
  POSITIONAL_ACCURACY |
  PPROG |
  PRE_PROBE_CYLINDER |
  PRECISION |
  PREHIT_RETRACT |
  PRIMARY_DROP |
  PRINT_DELETE_RUNS |
  PRINT_DRAFTMODE |
  PRINT_TO_FILE |
  PRINT_TO_PRINTER |
  PROBE_ACCURACY |
  PROBE_COMP |
  PROBE_DIRECTION |
  PROBE_TYPE |
  PROBING_MODE |
  PROBING_PERIOD |
  PROFILE_BOTTOM_CURVE |
  PROFILE_FORM_TYPE |
  PROFILE_TOP_CURVE |
  PROFILE_TYPE |
  PROGRAM_GAGE_FEAT_TYPE |
  PROGRAM_GAGE_TYPE |
  PROJECT_POINT |
  PROJECTOR |
  PTDENSITY_DEVLIMIT |
  PTDENSITY_MAXSPAN |
  PTDENSITY_TOGGLE |
  PTDENSITY_UPPERBOUND |
  PUNCHVEC_I |
  PUNCHVEC_J |
  PUNCHVEC_K |
  QDAS_CATALOG_FILENAME |
  QDAS_CONFIGURATION_FILENAME |
  QDAS_OUTPUT_FILE_TYPE |
  QUERY_SHOW_GRAPHIC_SETTINGS |
  RADIUS_TYPE |
  RANGE |
  READ_FILE_PRIOR_EXEC |
  READ_WRITE |
  READPOS_TYPE |
  REDUCTION_FILTER |
  REDUCTION_FILTER_PERCENTAGE |
  REF_ID |
  REF_TEMP |
  REF_UID |
  REFRACTIVE_INDEX |
  REGR |
  RELATIVE_COMMENTS |
  REPIERCE_CAD |
  REPORT_GRAPH_ANALYSIS |
  REPORT_MODE |
  REPORT_SURFVEC_I |
  REPORT_SURFVEC_J |
  REPORT_SURFVEC_K |
  REPORTVEC_I |
  REPORTVEC_J |
  REPORTVEC_K |
  RET_ONLY_TYPE |
  RETURN_SPEED |
  REVISION_NUMBER |
  RMEAS_TYPE |
  RMEASFEATID |
  RMEASFEATIDX |
  RMEASFEATIDY |
  RMEASFEATIDZ |
  ROTATE_REF_ID |
  ROTATION_TYPE |
  ROTATION_TYPE_2 |
  ROW_ID |
  RPT_DIMENSION_TABLES |
  SAMPLE_FEATURE |
  SAMPLE_HIT_MEAS_A | Sample hit measured A value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_MEAS_H | Sample hit measured H value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_MEAS_R | Sample hit measured R value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_MEAS_X | Sample hit measured X value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_MEAS_Y | Sample hit measured Y value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_MEAS_Z | Sample hit measured Z value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_THEO_A | Sample hit theoretical A value. This is meaningful only in Polar mode.
  SAMPLE_HIT_THEO_H | Sample hit theoretical H value. This is meaningful only in Polar mode.
  SAMPLE_HIT_THEO_I | Sample hit theoretical I value.
  SAMPLE_HIT_THEO_J | Sample hit theoretical J value.
  SAMPLE_HIT_THEO_K | Sample hit theoretical K value.
  SAMPLE_HIT_THEO_R | Sample hit theoretical R value. This is meaningful only in Polar mode.
  SAMPLE_HIT_THEO_X | Sample hit theoretical X value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_THEO_Y | Sample hit theoretical Y value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_THEO_Z | Sample hit theoretical Z value. This is meaningful only in Cartesian mode.
  SAMPLE_HIT_TYPE |
  SAMPLE_METHOD |
  SAVE_ALIGN_CAD_TO_PARTS |
  SCALING |
  SCAN_4AXIS |
  SCAN_ACCELERATION |
  SCAN_AXISVEC_I |
  SCAN_AXISVEC_J |
  SCAN_AXISVEC_K |
  SCAN_BNDRY_TYPE |
  SCAN_COMPENSATION |
  SCAN_CROSS_TOTAL |
  SCAN_CURVE_TYPE |
  SCAN_CUTPLANEVEC_I |
  SCAN_CUTPLANEVEC_J |
  SCAN_CUTPLANEVEC_K |
  SCAN_DENSITY |
  SCAN_EDGE_THICK |
  SCAN_ENDVEC_I |
  SCAN_ENDVEC_J |
  SCAN_ENDVEC_K |
  SCAN_EXECUTION_MODE |
  SCAN_INITDIR_I |
  SCAN_INITDIR_J |
  SCAN_INITDIR_K |
  SCAN_INITVEC_I |
  SCAN_INITVEC_J |
  SCAN_INITVEC_K |
  SCAN_MODE |
  SCAN_OFFSET_FORCE |
  SCAN_PATH_DENSITY |
  SCAN_SHAPE_TEACH_TYPE |
  SCAN_TECHNIQUE |
  SCAN_TIME_INCR |
  SCAN_TYPE |
  SCONDARY_DROP |
  SCREEN_CAPTURE_AUTO_TIME |
  SCREEN_CAPTURE_AUTO_TYPE |
  SCREEN_CAPTURE_QUALITY |
  SCREEN_CAPTURE_SCALE |
  SCREEN_CAPTURE_TYPE |
  SEARCHMODE_TYPE |
  SECTION_INDEX |
  SEGMENT_TOGGLE |
  SEGMENT_TYPE |
  SEGMENT_TYPE_TOGGLE |
  SELECT_BY_TOTAL_HITS |
  SELECT_CENTER |
  SELECT_EVERY_NPOINTS |
  SELECT_FIRST_POINT |
  SELECT_LAST_POINT |
  SELECT_TOTAL_NHITS |
  SELF_CENTER_CUT_VECTOR_I |
  SELF_CENTER_CUT_VECTOR_J |
  SELF_CENTER_CUT_VECTOR_K |
  SELF_CENTER_POINT |
  SENSITIVITY_MODE |
  SENSOR_LIST |
  SERIAL_NUMBER |
  SHIFT_BONUS |
  SHIFT_BONUS2 |
  SHOW_COLUMN |
  SHOW_DETAILS |
  SHOW_HEADINGS |
  SHOW_IDS |
  SHOW_MORE_SPC_CALCS |
  SHOW_NOMS |
  SHOW_OPTIONS |
  SHOW_POINT_INFO |
  SHOW_ROW |
  SHOW_SPC_CALCS |
  SIMUL_NUMBER_POSITION_FCFS |
  SIMUL_NUMBER_PROFILE_FCFS |
  SIMULT_EVAL |
  SINGLE_POINT |
  SINGLE_POINT_DEVIATION |
  SIZE_NOMINAL |
  SIZE_SYMBOL |
  SIZE_TOLERANCE |
  SKIP_NUM |
  SKIP_RINGS |
  SLOT_MIN_MAX_TYPE |
  SLOT_NUMBER |
  SLOT_TYPE |
  SLOTVEC_I |
  SLOTVEC_J |
  SLOTVEC_K |
  SMOOTHING_CORNER_RADIUS |
  SMOOTHING_TOLERANCE |
  SNAP_TYPE |
  SOLID |
  SPEC_LIMITS |
  SPEC_OFFSET |
  SPECIFICATION_STRING |
  SPHERE_CENTER_X |
  SPHERE_CENTER_Y |
  SPHERE_CENTER_Z |
  SRC_EXPR |
  STANDARD |
  STANDARD_DEVIATION |
  START_ANG |
  START_LABEL |
  START_NUM |
  STAT_CALC_TYPE |
  STAT_COUNT |
  STAT_NAME_TYPE |
  STATS_DATASOURCE |
  STATS_DB_TYPE |
  STATS_DIR |
  STATS_TYPE |
  STDDEV |
  STRIPE_DISTANCE |
  SUB_NAME |
  SUMMARY_AXIS |
  SUMMARY_BONUS |
  SUMMARY_COLUMN_HDR |
  SUMMARY_DEV |
  SUMMARY_FEAT |
  SUMMARY_MAX |
  SUMMARY_MEAS |
  SUMMARY_MIN |
  SUMMARY_MINUSTOL |
  SUMMARY_NOMINAL |
  SUMMARY_OUTTOL |
  SUMMARY_PLUSTOL |
  SUMMARY_TBLHDR |
  SURFACE |
  SURFACE_INTERPERTATION_IF_POSSIBLE |
  SURFACE_TYPE |
  SURFVEC_I |
  SURFVEC_J |
  SURFVEC_K |
  SURFVEC_MEAS_I |
  SURFVEC_MEAS_J |
  SURFVEC_MEAS_K |
  SURFVEC_TARG_I |
  SURFVEC_TARG_J |
  SURFVEC_TARG_K |
  T_VALUE |
  TARG_A |
  TARG_EA |
  TARG_EH |
  TARG_EI |
  TARG_EJ |
  TARG_EK |
  TARG_ER |
  TARG_EX |
  TARG_EY |
  TARG_EZ |
  TARG_H |
  TARG_I |
  TARG_J |
  TARG_K |
  TARG_R |
  TARG_SA |
  TARG_SH |
  TARG_SI |
  TARG_SJ |
  TARG_SK |
  TARG_SR |
  TARG_SX |
  TARG_SY |
  TARG_SZ |
  TARG_X |
  TARG_Y |
  TARG_Z |
  TARGET_BLOB_TYPE |
  TARGET_COLOR |
  TARGET_COVERAGE |
  TARGET_COVERAGE_ACTIVE_TARGETS |
  TARGET_DIRECTION |
  TARGET_EDGE_ANGLE |
  TARGET_EDGE_CROSSHAIR_CENTER |
  TARGET_EDGE_DARKLIGHT |
  TARGET_EDGE_DENSITY |
  TARGET_EDGE_EDGEDETECT |
  TARGET_EDGE_EDGENUM |
  TARGET_EDGE_EDGESELECT |
  TARGET_EDGE_END_VALUE |
  TARGET_EDGE_FILTER_AREA |
  TARGET_EDGE_FILTER_AREA_SIZE |
  TARGET_EDGE_FILTER_CLEAN |
  TARGET_EDGE_FILTER_CLEAN_STRENGTH |
  TARGET_EDGE_GRADIENT |
  TARGET_EDGE_GREYSCALE_THRESHHOLD |
  TARGET_EDGE_HEIGHT |
  TARGET_EDGE_ILLUM |
  TARGET_EDGE_IMAGE_RGB_MIXING_B |
  TARGET_EDGE_IMAGE_RGB_MIXING_G |
  TARGET_EDGE_IMAGE_RGB_MIXING_R |
  TARGET_EDGE_MIN_AREA |
  TARGET_EDGE_MIN_MAX_TYPE |
  TARGET_EDGE_MIN_MAX_TYPE_TOGGLE |
  TARGET_EDGE_MIN_MAX_WIDTH |
  TARGET_EDGE_POLARITY |
  TARGET_EDGE_SENSILIGHT |
  TARGET_EDGE_SIZE |
  TARGET_EDGE_START_VALUE |
  TARGET_EDGE_STRENGTH |
  TARGET_EDGE_TOL |
  TARGET_EDGE_TYPE |
  TARGET_EDGE_UNDERSCAN |
  TARGET_EDGE_WIDTH |
  TARGET_FILTER_AREA |
  TARGET_FILTER_AREA_SIZE |
  TARGET_FILTER_CLEAN |
  TARGET_FILTER_CLEAN_STRENGTH |
  TARGET_FILTER_OUTLIER |
  TARGET_FILTER_OUTLIER_DISTANCE_MULTIPLIER |
  TARGET_FILTER_OUTLIER_DISTANCE_THRESHOLD |
  TARGET_FILTER_OUTLIER_MIN_NEIGHBORS |
  TARGET_FILTER_OUTLIER_STD_DEV_THRESHOLD |
  TARGET_FILTER_OUTLIER_USING_NEIGHBORS |
  TARGET_FOCUS |
  TARGET_MEASURE_AT_FOV_CENTER |
  TARGET_SURFACE_CROSSHAIR_HEIGHT |
  TARGET_SURFACE_DURATION |
  TARGET_SURFACE_FIND_SURFACE |
  TARGET_SURFACE_HEIGHT |
  TARGET_SURFACE_HIACC |
  TARGET_SURFACE_ILLUM |
  TARGET_SURFACE_IMAGE_RGB_MIXING_B |
  TARGET_SURFACE_IMAGE_RGB_MIXING_G |
  TARGET_SURFACE_IMAGE_RGB_MIXING_R |
  TARGET_SURFACE_MODE |
  TARGET_SURFACE_RANGE |
  TARGET_SURFACE_SENSILIGHT |
  TARGET_SURFACE_SURFACE_VARIANCE |
  TARGET_SURFACE_TYPE |
  TARGET_SURFACE_WIDTH |
  TARGET_TYPE |
  TARGSLOT_I |
  TARGSLOT_J |
  TARGSLOT_K |
  TEMPLATE_MATCH |
  TEMPLATE_MATCH_CORRELATION |
  TEMPP |
  TEMPX |
  TEMPY |
  TEMPZ |
  TEXT_ANALYSIS |
  TEXTANAL_LABEL_DEV |
  TEXTANAL_LABEL_MEAS_I |
  TEXTANAL_LABEL_MEAS_J |
  TEXTANAL_LABEL_MEAS_K |
  TEXTANAL_LABEL_MEAS_X |
  TEXTANAL_LABEL_MEAS_Y |
  TEXTANAL_LABEL_MEAS_Z |
  TEXTANAL_LABEL_MINMAX |
  THEO_A |
  THEO_A2 |
  THEO_ANGLE |
  THEO_AREA |
  THEO_DEPTH |
  THEO_DIAM |
  THEO_DX |
  THEO_DY |
  THEO_DZ |
  THEO_EA |
  THEO_EH |
  THEO_EI |
  THEO_EJ |
  THEO_EK |
  THEO_END_ANG |
  THEO_ER |
  THEO_EX |
  THEO_EY |
  THEO_EZ |
  THEO_FLUSH |
  THEO_GAP |
  THEO_H |
  THEO_H2 |
  THEO_HEIGHT |
  THEO_I |
  THEO_J |
  THEO_K |
  THEO_LENGTH |
  THEO_MINOR_AXIS |
  THEO_MINOR_DIAMETER |
  THEO_PERIMETER |
  THEO_R |
  THEO_R2 |
  THEO_RADIUS |
  THEO_SA |
  THEO_SH |
  THEO_SI |
  THEO_SJ |
  THEO_SK |
  THEO_SR |
  THEO_START_ANG |
  THEO_SX |
  THEO_SY |
  THEO_SZ |
  THEO_WIDTH |
  THEO_X |
  THEO_X2 |
  THEO_Y |
  THEO_Y2 |
  THEO_Z |
  THEO_Z2 |
  THEOBF_TYPE |
  THICKNESS_DROP |
  THICKNESS_GAGE_DISTANCE |
  THICKNESS_GAGE_PRIMARY_FEATURE |
  THICKNESS_GAGE_SECONDARY_FEATURE |
  THICKNESS_GAGE_SHOW_POI |
  THICKNESS_TYPE |
  THICKNESS_TYPE_EDGE |
  THINNING_TOL |
  THREADED_HOLE |
  THRESHOLD |
  TIME_ARG |
  TIME_FILTER |
  TIME_STAMP |
  TIP_I |
  TIP_J |
  TIP_K |
  TITLE |
  TOLERANCE_CODE |
  TOLERANCE_ZONE_DIRECTION |
  TOOL_DIAM |
  TOOL_X |
  TOOL_Y |
  TOOL_Z |
  TP_MODIFIER |
  TP_MODIFIER2 |
  TPS_SUB_COMMAND_TYPE |
  TRACE_DATA_SOURCE |
  TRACE_DISPLAY_MESSAGE |
  TRACE_DISPLAY_ONREPORT |
  TRACE_FILTER |
  TRACE_FILTER_ARG |
  TRACE_NAME |
  TRACE_VALUE |
  TRACE_VALUE_LIMIT |
  TRACE_VALUE_OPTION |
  TRACKER_GRAVITY_PLANE |
  TRACKER_SUB_COMMAND_TYPE |
  TRANSFER_DIR |
  TRIGGER_FORCE |
  TRIGGERPLANE |
  TRIGGERTOLERANCE |
  TRIGGERTOLVALUE |
  TWO_D_THREE_D_TYPE |
  U_HITS |
  U_L_BOUNDS |
  UCL_LCL |
  UID |
  UNEQUAL_TOL_LINE2 |
  UNEQUAL_TOL_LINE3 |
  UNEQUAL_TOL_ZONE_LINE2 |
  UNEQUAL_TOL_ZONE_LINE3 |
  UNIT_AREA_LINE3 |
  UNIT_TYPE |
  UP_FORCE |
  UPDATEVEC_I |
  UPDATEVEC_J |
  UPDATEVEC_K |
  UPPER_MODIFIER |
  UPPER_SIZE |
  UPPER_TOLERANCE |
  UPR |
  USE_3DFILTER |
  USE_AXIS |
  USE_AXIS2 |
  USE_BOUNDARY_OFFSET | Enables or disables using the boundary offset as a minimum distance from the boundary (the edge) where the hits are automatically placed during a Void Detection. If set to NO, the tip's radius value is the minimum distance.
  USE_CAD_PLANAR_SEGREGATION |
  USE_FORM |
  USE_HSSDAT |
  USE_INCIDENCE_ANGLE |
  USE_LOCATION |
  USE_MIN_MAX_FIT |
  USE_SCALING |
  USE_SCAN_FILTER |
  USE_SIZE |
  USE_STARTENDDELAY |
  USE_THEO |
  USE_THEOS |
  USEPIN_TYPE |
  USER_DEFINED_HITS |
  USER_DEFINED_THEOS |
  V_HITS |
  VERTICAL_CLIPPING |
  VIDEO_GAIN |
  VIDEO_LASERLIGHT1 |
  VIDEO_LASERLIGHT2 |
  VIDEO_LEDLIGHT |
  VIDEO_LSEG |
  VIDEO_OFFSET |
  VIDEO_XSEG |
  VIDEO_YEND |
  VIDEO_YORIGIN |
  VIDEO_YSEG |
  VOID_DETECT |
  WAVE_FILE |
  WAVELENGTH |
  WAVELENGTHPLANE |
  WEIGHT |
  WORK_PLANE |
  X_OFFSET |
  Y_OFFSET |
  Z_OFFSET |
  ZONES |

  ENUM_FIELD_TYPES enumeration indicating the field from which to get the value.
TypeIndex
  Long value used to indicate which instance of the supplied field type to use when an object has more than one instance of a specified field type. In these cases, the TypeIndex must not be greater than the current number of fields of the that type + 1 and TypeIndex must be greater than 1. For fields that allow only a single value, the TypeIndex is 0.

# Return Type

Long value representing the current toggle index value.

# Example

' Suppose your measurement routine has a circle named CIR1.

' This example would return a 1 since the COORD_TYPE field is a toggle field:

Set myapp = CreateObject("pcdlrn.application")

Set myprog = myapp.ActivePartProgram

Dim Cmds As Commands

Set Cmds = myprog.Commands

Dim Cmd As Command

Set Cmd = Cmds.Item("CIR1")

MsgBox Cmd.ID

MsgBox Cmd.GetToggleValue(COORD_TYPE, 0)

# See Also

Command Object | Command Members

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