PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
GetToggleValue Property
See Also

Collapse All Expand All

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.

# Description

Returns 0 if the field is not a toggle otherwise returns the toggle index

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.

# Property type

Read-only property

# Syntax

Visual Basic

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

# Parameters

DataType

  Value | Description
  --- | ---
  ID |
  REF_ID |
  LEVEL_REF_ID |
  ROTATE_REF_ID |
  ORIGIN_REF_ID |
  THEO_X |
  THEO_Y |
  THEO_Z |
  THEO_SX |
  THEO_SY |
  THEO_SZ |
  THEO_EX |
  THEO_EY |
  THEO_EZ |
  THEO_I |
  THEO_J |
  THEO_K |
  TARG_X |
  TARG_Y |
  TARG_Z |
  MEAS_X |
  MEAS_Y |
  MEAS_Z |
  MEAS_I |
  MEAS_J |
  MEAS_K |
  MEAS_LENGTH |
  MEAS_DIAM |
  MEAS_ANGLE |
  TARG_I |
  TARG_J |
  TARG_K |
  THEO_DIAM |
  THEO_WIDTH |
  THEO_LENGTH |
  THEO_HEIGHT |
  THEO_ANGLE |
  COORD_TYPE |
  INOUT_TYPE |
  THICKNESS_TYPE |
  CIRC_TYPE |
  SNAP_TYPE |
  USEPIN_TYPE |
  MOVE_TYPE |
  READPOS_TYPE |
  FINDHOLE_TYPE |
  RMEAS_TYPE |
  THEOBF_TYPE |
  BOUND_TYPE |
  BF_MATH_TYPE |
  AUTOFIT_CONSTRAINT |
  SLOT_MIN_MAX_TYPE |
  FIND_NOM_AXIS_TYPE |
  N_INIT_HITS_TYPE |
  N_PERM_HITS_TYPE |
  SEARCHMODE_TYPE |
  MODE_TYPE |
  MEASURE_ORDER_TYPE |
  CONE_LENGTH_ANGLE_TYPE |
  OFFSET_LINE_METHOD |
  LIN_POL_FILT_TYPE |
  GEN_FEAT_TYPE |
  GEN_ALIGN_TYPE |
  CURVE_TYPE |
  MEASURED_2D3D_TYPE |
  THINNING_TOL |
  HITINT_TYPE |
  RMEASFEATID |
  N_HITS |
  N_ROWS |
  INIT_HITS |
  PERM_HITS |
  F_OFFSET |
  F_SPACER |
  F_PITCH |
  F_THICKNESS |
  F_DEPTH |
  F_AUTOMOVE |
  F_INDENT |
  F_CORNER_RADIUS |
  F_INCREMENT |
  F_TOLERANCE |
  F_BOXWIDTH |
  F_BOXLENGTH |
  F_CIRCRADOUT |
  F_CIRCRADIN |
  F_CHECK |
  F_MAXACCELX |
  F_MAXACCELY |
  F_MAXACCELZ |
  SCAN_ACCELERATION |
  SCAN_OFFSET_FORCE |
  MANUAL_FINE_PROBING |
  F_MOVESPEED |
  F_TOUCHSPEED |
  F_SCANSPEED |
  START_ANG |
  END_ANG |
  MIDPOINT_X |
  MIDPOINT_Y |
  MIDPOINT_Z |
  ANGVEC_I |
  ANGVEC_J |
  ANGVEC_K |
  MEASVEC_I |
  MEASVEC_J |
  MEASVEC_K |
  SLOTVEC_I |
  SLOTVEC_J |
  SLOTVEC_K |
  SURFVEC_I |
  SURFVEC_J |
  SURFVEC_K |
  PINVEC_I |
  PINVEC_J |
  PINVEC_K |
  PUNCHVEC_I |
  PUNCHVEC_J |
  PUNCHVEC_K |
  REPORTVEC_I |
  REPORTVEC_J |
  REPORTVEC_K |
  TARGSLOT_I |
  TARGSLOT_J |
  TARGSLOT_K |
  UPDATEVEC_I |
  UPDATEVEC_J |
  UPDATEVEC_K |
  THEO_MINOR_AXIS |
  TWO_D_THREE_D_TYPE |
  AXIS |
  DEST_EXPR |
  SRC_EXPR |
  SHOW_IDS |
  SHOW_DETAILS |
  WEIGHT |
  ITEM_USED |
  USE_AXIS |
  AVERAGE_ERROR |
  MEASURE_ALL_FEATURES |
  REPIERCE_CAD |
  START_NUM |
  END_NUM |
  SKIP_NUM |
  X_OFFSET |
  Y_OFFSET |
  Z_OFFSET |
  ANGLE_OFFSET |
  INTERNAL_EXTERNAL |
  SAVE_ALIGN_CAD_TO_PARTS |
  FILE_NAME |
  ALIGN_LIST |
  WORK_PLANE |
  DISTANCE |
  OLD_TIP |
  NEW_TIP |
  ROTATION_TYPE |
  DIM_INFO_ORDER |
  DIM_INFO_LOC |
  DIM_INFO_TP_LOC |
  GRAPH_ANALYSIS |
  TEXT_ANALYSIS |
  ARROW_MULTIPLIER |
  OUTPUT_TYPE |
  NOMINAL |
  F_PLUS_TOL |
  F_MINUS_TOL |
  TP_MODIFIER |
  PERP_PARALLEL_TYPE |
  RADIUS_TYPE |
  UNIT_TYPE |
  DIM_LENGTH |
  PROFILE_FORM_TYPE |
  PRECISION |
  MAN_RETRACT |
  DIM_TEXT |
  DIM_TEXT_OPTIONS |
  SHOW_HEADINGS |
  DEVIATION_SYMBOLS |
  STANDARD_DEVIATION |
  DIM_HEADING |
  GAP_ONLY_TYPE |
  DISPLAY_ID |
  DISPLAY_TYPE |
  POINT_INFO_HEADING |
  SHOW_POINT_INFO |
  RET_ONLY_TYPE |
  COMMENT_FIELD |
  COMMENT_TYPE |
  PART_NAME |
  REVISION_NUMBER |
  SERIAL_NUMBER |
  STAT_COUNT |
  SUB_NAME |
  READ_WRITE |
  FILE_POINTER |
  FIELD_WIDTH |
  DIGIT_COUNT |
  LABEL_ID |
  ERROR_TYPE |
  ERROR_MODE |
  DESCRIPTION |
  INDEX_START |
  INDEX_END |
  FILE_COMMAND_TYPE |
  BUFFER_SIZE_TYPE |
  FAIL_ON_EXIST |
  MAX_FORCE |
  LOW_FORCE |
  UP_FORCE |
  TRIGGER_FORCE |
  PROBE_ACCURACY |
  POSITIONAL_ACCURACY |
  NUM_RETURN_DATA |
  RETURN_SPEED |
  SCAN_DENSITY |
  POLAR_VECTOR_COMPENSATION |
  AUTO_PRINT |
  ORIGIN |
  MATERIAL_COEFFICIENT |
  REF_TEMP |
  HIGH_THRESHOLD |
  LOW_THRESHOLD |
  SENSOR_LIST |
  FIXTURE_TYPE |
  MACHINE_TYPE |
  PROBE_COMP |
  TIP_I |
  TIP_J |
  TIP_K |
  NORM_RELEARN |
  FIND_NOMS_TYPE |
  AUTO_CLEAR_PLANE |
  SINGLE_POINT |
  DISPLAY_HITS |
  CAD_TOLERANCE |
  OFFSET_TOLERANCE |
  MIN_INCREMENT |
  MAX_INCREMENT |
  MIN_ANGLE |
  MAX_ANGLE |
  F_LOCATION |
  COL132_TYPE |
  COMMAND_STRING |
  FLY_MODE_TYPE |
  STATS_TYPE |
  STATS_DIR |
  NEW_STATS_DIR |
  DATA_READ_LOCK |
  DATA_WRITE_LOCK |
  DATA_MEM_PAGES |
  STAT_NAME_TYPE |
  STAT_CALC_TYPE |
  TRANSFER_DIR |
  DISPLAY_TRACE |
  TRACE_NAME |
  TRACE_VALUE |
  SCAN_CUTPLANEVEC_I |
  SCAN_CUTPLANEVEC_J |
  SCAN_CUTPLANEVEC_K |
  SCAN_INITVEC_I |
  SCAN_INITVEC_J |
  SCAN_INITVEC_K |
  SCAN_AXISVEC_I |
  SCAN_AXISVEC_J |
  SCAN_AXISVEC_K |
  SCAN_ENDVEC_I |
  SCAN_ENDVEC_J |
  SCAN_ENDVEC_K |
  SCAN_INITDIR_I |
  SCAN_INITDIR_J |
  SCAN_INITDIR_K |
  SCAN_CROSS_TOTAL |
  SCAN_TIME_INCR |
  SCAN_EDGE_THICK |
  POS_REPORT_AXIS_X |
  POS_REPORT_AXIS_Y |
  POS_REPORT_AXIS_Z |
  DEV_PERPEN_CENTERLINE |
  USE_THEO |
  TARGET_COLOR |
  THEO_START_ANG |
  THEO_END_ANG |
  ONOFF_TYPE |
  ROW_ID |
  LOCATOR_BMP |
  LOCATOR_WAV |
  DTYPE_LEAPFROGTYPE |
  DTYPE_LEAPFROGNUMHITS |
  DTYPE_LEAPFROGFULLPARTIAL |
  EXCLUSION_ZONE |
  EXECUTE |
  AUTOTRIGGERONOFF |
  AUTOBEEPING |
  COLUMN_ID |
  SLOT_NUMBER |
  AUTOTOLZONE |
  PROBING_MODE |
  ANGLE_COMP_TOGGLE |
  POINTINFO_FILTER_INTERVAL |
  POINTINFO_FILTER_INTERVAL_NUMBER |
  FEAT_TYPE |
  DIM_ID |
  MEAS_MINOR_AXIS |
  MEAS_HEIGHT |
  MEAS_SLOTVEC_I |
  MEAS_SLOTVEC_J |
  MEAS_SLOTVEC_K |
  MEAS_SX |
  MEAS_SY |
  MEAS_SZ |
  MEAS_EX |
  MEAS_EY |
  MEAS_EZ |
  MEAS_WIDTH |
  NUM_CONTROL_POINTS |
  U_HITS |
  V_HITS |
  NUM_FIT_POINTS |
  NOMINAL_COLOR |
  WAVE_FILE |
  DIM_BONUS |
  PERUNIT_STEPSIZE |
  PERUNIT_LENGTH |
  PERUNIT_WIDTH |
  DIM_MEASURED |
  SURFVEC_TARG_I |
  SURFVEC_TARG_J |
  SURFVEC_TARG_K |
  DIM_MAX |
  EDGEVEC_TARG_I |
  EDGEVEC_TARG_J |
  EDGEVEC_TARG_K |
  DIM_MIN |
  EDGEVEC_THEO_I |
  EDGEVEC_THEO_J |
  EDGEVEC_THEO_K |
  DIM_DEVIATION |
  EDGEVEC_MEAS_I |
  EDGEVEC_MEAS_J |
  EDGEVEC_MEAS_K |
  DIM_OUTTOL |
  T_VALUE |
  TOOL_X |
  TOOL_Y |
  TOOL_Z |
  TOOL_DIAM |
  DEV_X |
  DEV_Y |
  DEV_Z |
  DEV_DIAM |
  ITERATE_COLUMNS |
  LOAD_TYPE |
  NUM_ITERATIONS |
  METHOD_TYPE |
  SCAN_TECHNIQUE |
  HIT_TYPE |
  BOUNDARY_POINT_X |
  BOUNDARY_POINT_Y |
  BOUNDARY_POINT_Z |
  VIDEO_GAIN |
  VIDEO_OFFSET |
  VIDEO_LEDLIGHT |
  VIDEO_LASERLIGHT1 |
  VIDEO_LASERLIGHT2 |
  VIDEO_YORIGIN |
  VIDEO_YEND |
  VIDEO_LSEG |
  VIDEO_XSEG |
  VIDEO_YSEG |
  ANGULARITY_NOM_ANGLE |
  PRINT_TO_FILE |
  PRINT_TO_PRINTER |
  PRINT_DRAFTMODE |
  PRINT_DELETE_RUNS |
  POINTINFO_FILTER_WORST |
  POINTINFO_FILTER_WORST_NUMBER |
  POINTINFO_FILTER_DEVIATION |
  POINTINFO_FILTER_DEVIATION_NUMBER |
  POINTINFO_FILTER_OUTTOL |
  REPORT_SURFVEC_I |
  REPORT_SURFVEC_J |
  REPORT_SURFVEC_K |
  DB_QUERY_OP |
  DB_SOURCE_NAME |
  CHART_TYPE |
  DB_CHART_NAME |
  DEVIATION_ANGLE |
  STATS_DATASOURCE |
  IGNOREMOTIONERRORS_TYPE |
  THEO_X2 |
  THEO_Y2 |
  THEO_Z2 |
  MEAS_X2 |
  MEAS_Y2 |
  MEAS_Z2 |
  PPROG |
  TRACE_FILTER |
  TIME_FILTER |
  SHOW_SPC_CALCS |
  SPEC_LIMITS |
  ZONES |
  STDDEV |
  UCL_LCL |
  HISTOGRAM |
  GRID |
  ADDITIONAL_CHART |
  LINE2_PLANAR_OPEN_IN_X |
  LINE3_PLANAR_OPEN_IN_X |
  REGR |
  CENTER_POINT |
  SHOW_MORE_SPC_CALCS |
  SPEC_OFFSET |
  SOLID |
  U_L_BOUNDS |
  TITLE |
  CPOINT_X |
  CPOINT_Y |
  CPOINT_Z |
  CPOINT_I |
  CPOINT_J |
  CPOINT_K |
  CPOINT_DIAM |
  CPOINT_SCAN_CROSS_TOTAL |
  CPOINT_SCAN_DENSITY |
  CPOINT_F_SCANSPEED |
  N_CONTROLPOINTS |
  CPOINT_TYPE |
  USE_3DFILTER |
  SCAN_BNDRY_TYPE |
  CREATE_WEIGHTS |
  F_SIZE |
  LINE2_ISPLANAR |
  LINE2_PLANAR_XTOL |
  LINE2_PLANAR_YTOL |
  LINE2_PLANAR_XDEV |
  LINE2_PLANAR_YDEV |
  LINE3_ISPLANAR |
  LINE3_PLANAR_XTOL |
  LINE3_PLANAR_YTOL |
  LINE3_PLANAR_XDEV |
  LINE3_PLANAR_YDEV |
  CHART_SUB_TYPE |
  OVERWRITE |
  OUTPUT_FEATURE_NOMS |
  OUTPUT_FEAT_W_DIMENS |
  OUTPUT_DMIS_REPORT |
  TIME_ARG |
  TRACE_FILTER_ARG |
  FIT |
  STATS_DB_TYPE |
  IOCHANNEL_NUMBER |
  IOCHANNEL_PULSE_WIDTH |
  IOCHANNEL_PULSE_INTERVAL |
  IOCHANNEL_PULSE_DURATION |
  GRAPH_OPTION |
  DB_SOURCE_TYPE |
  FIND_HOLE_PERCENT |
  AUTO_ONERROR_TYPE |
  POS_REPT_DISPLAY_OPTION |
  TRIGGERTOLERANCE |
  TRIGGERTOLVALUE |
  FIXTURE_TOL |
  START_LABEL |
  ERROR_LABEL |
  CONE_CONVEX_TYPE |
  TRIGGERPLANE |
  QUERY_SHOW_GRAPHIC_SETTINGS |
  CALC_STYLE_FILE |
  FILTER_TYPE |
  TRACE_VALUE_LIMIT |
  TARGET_DIRECTION |
  TARGET_EDGE_POLARITY |
  BSMETHOD_TYPE |
  CENTER_ROTATION_THEO |
  CENTER_ROTATION_MEAS |
  ARTICULATEDARM_TYPE |
  LEFTYRIGHTY_CONFIG |
  ABOVEBELOW_CONFIG |
  NOFLIPFLIP_CONFIG |
  HIGH_ACCURACY |
  SURFACE |
  MAGNIFICATION |
  MINOR_WORD_TOGGLE |
  PERCENTAGE |
  THRESHOLD |
  N_SIDES |
  TARGET_SURFACE_ILLUM |
  MEAN |
  CAD_COMP |
  SHOW_ROW |
  SHOW_COLUMN |
  TARGET_SURFACE_SENSILIGHT |
  TARGET_SURFACE_WIDTH |
  TARGET_SURFACE_HEIGHT |
  TARGET_SURFACE_RANGE |
  TARGET_SURFACE_DURATION |
  TARGET_SURFACE_MODE |
  TARGET_SURFACE_HIACC |
  SCREEN_CAPTURE_SCALE |
  SCREEN_CAPTURE_QUALITY |
  TARGET_EDGE_SIZE |
  TARGET_EDGE_ILLUM |
  TARGET_EDGE_TOL |
  TARGET_EDGE_STRENGTH |
  TARGET_EDGE_DENSITY |
  TARGET_EDGE_TYPE |
  DISPLAY_ADVANCED_PARAMETERS |
  TARGET_SURFACE_TYPE |
  VOID_DETECT |
  TARG_SX |
  TARG_SY |
  TARG_SZ |
  TARG_EX |
  TARG_EY |
  TARG_EZ |
  PATTERN_TYPE |
  TARGET_EDGE_ANGLE |
  PROGRAM_GAGE_FEAT_TYPE |
  PROGRAM_GAGE_TYPE |
  TARGET_FOCUS |
  RMEASFEATIDX |
  RMEASFEATIDY |
  RMEASFEATIDZ |
  FINDNOMS_BESTFIT |
  FINDNOMS_ONLYSELECTED |
  TEMPX |
  TEMPY |
  TEMPZ |
  TEMPP |
  AUTO_PH9 |
  MANUAL_PREPOSITION |
  SCREEN_CAPTURE_TYPE |
  SCREEN_CAPTURE_AUTO_TYPE |
  TARGET_EDGE_EDGESELECT |
  TARGET_EDGE_EDGENUM |
  DELETE_TYPE |
  SCREEN_CAPTURE_AUTO_TIME |
  USE_HSSDAT |
  USE_STARTENDDELAY |
  COP_FILTER |
  COP_SIZE |
  COP_TYPE |
  SURFVEC_MEAS_I |
  SURFVEC_MEAS_J |
  SURFVEC_MEAS_K |
  TARGET_EDGE_UNDERSCAN |
  PROFILE_TYPE |
  THEO_FLUSH |
  MEAS_FLUSH |
  THEO_GAP |
  MEAS_GAP |
  THEO_DEPTH |
  MEAS_DEPTH |
  TARGET_BLOB_TYPE |
  LASER_STRIPE_OVERLAP |
  LASER_STRIPE_OVERSCAN |
  LASER_FREQUENCY |
  TARGET_FILTER_OUTLIER |
  TARGET_FILTER_OUTLIER_DISTANCE_THRESHOLD |
  SLOT_TYPE |
  TARGET_TYPE |
  THEO_R |
  THEO_A |
  THEO_H |
  MEAS_R |
  MEAS_A |
  MEAS_H |
  TARG_R |
  TARG_A |
  TARG_H |
  THEO_SR |
  THEO_SA |
  THEO_SH |
  THEO_ER |
  THEO_EA |
  THEO_EH |
  MEAS_SR |
  MEAS_SA |
  MEAS_SH |
  MEAS_ER |
  MEAS_EA |
  MEAS_EH |
  TARG_SR |
  TARG_SA |
  TARG_SH |
  TARG_ER |
  TARG_EA |
  TARG_EH |
  TARGET_EDGE_SENSILIGHT |
  F_THICKNESS_EDGE |
  THICKNESS_TYPE_EDGE |
  LASER_EXPOSURE |
  LASER_INTENSITY |
  ANGLE_OFFSET_2 |
  LASER_FILTER_NEIGHBOR_NUM |
  TARGET_FILTER_OUTLIER_STD_DEV_THRESHOLD |
  LASER_FILTER_TOL_ABOVE |
  LASER_FILTER_TOL_BELOW |
  LASER_FILTER_TOL_RIGHT |
  LASER_CLIP_UP_DIST |
  LASER_CLIP_LOW_DIST |
  LASER_PIXEL_TOGGLE |
  LASER_FILTER_TOGGLE |
  DISPLAY_PROBE_PARAMETERS |
  THEO_R2 |
  THEO_A2 |
  THEO_H2 |
  MEAS_R2 |
  MEAS_A2 |
  MEAS_H2 |
  LASER_CLIP_LEFT_DIST |
  LASER_CLIP_RIGHT_DIST |
  COP_FILETYPE |
  COP_SELECTIONTYPE |
  COP_COLORMAP |
  COP_COPLEMENT |
  OPERTYPE |
  COP_BOOLEANTYPE |
  COP_IMPORTFILETYPE |
  MEAS_START_ANG |
  MEAS_END_ANG |
  ISLAND_DIAM |
  ISLAND_LENGTH |
  ISLAND_WIDTH |
  ISLAND_X |
  ISLAND_Y |
  ISLAND_Z |
  ISLAND_I |
  ISLAND_J |
  ISLAND_K |
  ISLAND_AI |
  ISLAND_AJ |
  ISLAND_AK |
  ISLAND_TYPE |
  ISLAND_CLEARANCEDIST |
  RPT_DIMENSION_TABLES |
  SUMMARY_DEV |
  DRF_TBLHDR |
  LINE1_TBLHDR |
  LINE1_CALLOUT |
  LINE1_COLUMN_HDR |
  LINE1_FEATNAME |
  LINE1_NOMINAL |
  LINE1_MEAS |
  LINE1_PLUSTOL |
  LINE1_MINUSTOL |
  LINE1_DEV |
  LINE1_DEVPERCENT |
  LINE1_ISBILATERAL |
  LINE1_NUMZONES |
  LINE2_TBLHDR |
  LINE2_CALLOUT |
  LINE2_COLUMN_HDR |
  LINE2_FEATNAME |
  LINE2_BONUS |
  LINE2_TOL |
  LINE2_DATUMSHFT |
  LINE2_UNUSEDZONE |
  LINE2_DEV |
  LINE2_DEVANG |
  LINE2_DEVPERCENT |
  LINE3_TBLHDR |
  LINE3_CALLOUT |
  LINE3_COLUMN_HDR |
  LINE3_FEATNAME |
  LINE3_BONUS |
  LINE3_TOL |
  LINE3_DATUMSHFT |
  LINE3_UNUSEDZONE |
  LINE3_DEV |
  LINE3_DEVANG |
  LINE3_DEVPERCENT |
  DRF_COLUMN_HDR |
  DRF_SEGNAME |
  DRF_SHIFTX |
  DRF_SHIFTY |
  DRF_SHIFTZ |
  DRF_ROTATIONX |
  DRF_ROTATIONY |
  DRF_ROTATIONZ |
  SUMMARY_COLUMN_HDR |
  SUMMARY_FEAT |
  LINE2_AXIS |
  LINE2_NOMINAL |
  LINE2_MEAS |
  SUMMARY_TBLHDR |
  SUMMARY_AXIS |
  SUMMARY_NOMINAL |
  SUMMARY_MEAS |
  LINE2_PLUSTOL |
  LINE2_MINUSTOL |
  LINE2_MAX |
  LINE2_MIN |
  LINE2_ISBILATERAL |
  LINE2_NUMZONES |
  LINE3_ISBILATERAL |
  LINE3_NUMZONES |
  DIM_RPT_COLUMN_HDR |
  DIM_RPT_ISDATUM |
  DIM_RPT_DATUM |
  DIM_RPT_GRAPHIC |
  DIM_RPT_DEVPERCENT |
  DIM_RPT_ISBILATERAL |
  DIM_RPT_NUMZONES |
  GDT_SYMBOL |
  COMMENT_INPUT |
  TARGET_EDGE_WIDTH |
  TARGET_EDGE_HEIGHT |
  TARGET_EDGE_EDGEDETECT |
  TARGET_EDGE_FILTER_CLEAN |
  TARGET_EDGE_FILTER_CLEAN_STRENGTH |
  TARGET_EDGE_FILTER_AREA |
  TARGET_EDGE_FILTER_AREA_SIZE |
  TARGET_EDGE_GRADIENT |
  THEO_PERIMETER |
  MEAS_PERIMETER |
  THEO_AREA |
  MEAS_AREA |
  TARGET_SURFACE_CROSSHAIR_HEIGHT |
  SHOW_NOMS |
  COMPOSITE |
  DATUM2 |
  TP_MODIFIER2 |
  DESCRIPTION2 |
  SHOW_OPTIONS |
  LEADER_LINE_ID |
  GDT_SYMBOL2 |
  DATUM1_MODIFIER |
  DATUM2_MODIFIER |
  DATUM3_MODIFIER |
  DATUM1_MODIFIER2 |
  DATUM2_MODIFIER2 |
  DATUM3_MODIFIER2 |
  DIM_RPT_DEVPERCENT_NOM |
  DIM_RPT_USETWODEVIATIONS |
  DIM_RPT_DEVPERCENT2 |
  LINE2_DEVPERCENT_NOM |
  LINE2_USE2DEVIATIONS |
  LINE2_DEVPERCENT2 |
  LINE3_DEVPERCENT_NOM |
  LINE3_USE2DEVIATIONS |
  LINE3_DEVPERCENT2 |
  AXIS_PLUS_TOL |
  AXIS_MINUS_TOL |
  AXIS_NOMINAL |
  AXIS_DESCRIPTION |
  LINE1_DEVPERCENT_NOM |
  LINE1_USE2DEVIATIONS |
  LINE1_DEVPERCENT2 |
  USE_AXIS2 |
  DIM_LENGTH2 |
  TEXTANAL_LABEL_MEAS_X |
  TEXTANAL_LABEL_MEAS_Y |
  TEXTANAL_LABEL_MEAS_Z |
  TEXTANAL_LABEL_MEAS_I |
  TEXTANAL_LABEL_MEAS_J |
  TEXTANAL_LABEL_MEAS_K |
  TEXTANAL_LABEL_DEV |
  TEXTANAL_LABEL_MINMAX |
  SIMULT_EVAL |
  SECTION_INDEX |
  LINE1_OUTTOL |
  LINE2_OUTTOL |
  LINE3_OUTTOL |
  LINE1_MAX |
  LINE1_MIN |
  LINE3_NOMINAL |
  LINE3_MEAS |
  LINE3_PLUSTOL |
  LINE3_MINUSTOL |
  LINE3_MAX |
  LINE3_MIN |
  SUMMARY_OUTTOL |
  SUMMARY_PLUSTOL |
  SUMMARY_MINUSTOL |
  SUMMARY_MAX |
  SUMMARY_MIN |
  SUMMARY_BONUS |
  LINE1_BONUS |
  GRAPH_ANALYSIS_POINT_SIZE |
  GRAPH_ANALYSIS_PLUS_TOL |
  GRAPH_ANALYSIS_MINUS_TOL |
  DIM_AXIS_ITEM_NUMBER |
  F_ENDING_DEPTH |
  F_END_OFFSET |
  DIM_ITEM_NUMBER |
  FEAT_ITEM_NUMBER |
  COMMAND_TYPE |
  DEV_MAX |
  AUTO_DEV_DIRECTION |
  PROBE_DIRECTION |
  USER_DEFINED_THEOS |
  SCALING |
  USE_SCALING |
  UID |
  REF_UID |
  BA_SOLUTION_TYPE |
  BA_SOLUTION_OPTIONS |
  BA_SOLUTION_STATUS |
  BA_VARIANCE |
  BA_RMS |
  BA_WARNINGS |
  BA_STATION |
  BA_STATION_X |
  BA_STATION_Y |
  BA_STATION_Z |
  BA_STATION_ROTX |
  BA_STATION_ROTY |
  BA_STATION_ROTZ |
  BA_STATION_ORIENTED |
  BA_STATION_LOCKED |
  BA_FEATURE |
  BA_FEAT_SOURCE |
  BA_FEAT_RMS |
  BA_FEAT_POINTING_ERR |
  BA_FEAT_APEX_ANGLE |
  BA_FEAT_X |
  BA_FEAT_Y |
  BA_FEAT_Z |
  BA_FEAT_DEV_X |
  BA_FEAT_DEV_Y |
  BA_FEAT_DEV_Z |
  BA_FEAT_DEV3D |
  NO_APPROACH_VECTOR_FLIP |
  TARGET_EDGE_START_VALUE |
  TARGET_EDGE_END_VALUE |
  TARGET_SURFACE_SURFACE_VARIANCE |
  RELATIVE_COMMENTS |
  AUTO_ROTARY |
  TARGET_COVERAGE |
  ROTATION_TYPE_2 |
  PROBE_TYPE |
  TIME_STAMP |
  ECOND_TEMP |
  ECOND_PRESSURE |
  ECOND_HUMIDITY |
  HIT_RMS |
  DISPLAY_TRACKER_PARAMETERS |
  PTDENSITY_TOGGLE |
  PTDENSITY_UPPERBOUND |
  PTDENSITY_DEVLIMIT |
  PTDENSITY_MAXSPAN |
  TARGET_MEASURE_AT_FOV_CENTER |
  TARGET_SURFACE_FIND_SURFACE |
  PROJECTOR |
  INLINE_LEGACY_REPORT |
  SINGLE_POINT_DEVIATION |
  INNER_SPACER |
  OUTER_SPACER |
  EXTRUSION |
  TARGET_EDGE_CROSSHAIR_CENTER |
  HIT_TIMESTAMP |
  SCAN_MODE |
  FILTER_LINES_TOGGLE |
  DIM_PLANE_PROJECTION_TYPE |
  DIM_PLANE_PROJECTION_TYPE2 |
  DIM_PLANE_PROJECTION_LENGTH |
  DIM_PLANE_PROJECTION_LENGTH2 |
  DIM_PLANE_PROJECTION_WIDTH |
  DIM_PLANE_PROJECTION_WIDTH2 |
  REDUCTION_FILTER |
  SENSITIVITY_MODE |
  SIZE_SYMBOL |
  FCF_RUNOUT_TYPE |
  TARGET_EDGE_IMAGE_RGB_MIXING_R |
  TARGET_EDGE_IMAGE_RGB_MIXING_G |
  TARGET_EDGE_IMAGE_RGB_MIXING_B |
  TARGET_SURFACE_IMAGE_RGB_MIXING_R |
  TARGET_SURFACE_IMAGE_RGB_MIXING_G |
  TARGET_SURFACE_IMAGE_RGB_MIXING_B |
  ILLUM_OFFON_TOGGLE_EDGE |
  ILLUM_BULB_INTENSITY_EDGE |
  ILLUM_CALOVERRIDE_TOGGLE_EDGE |
  ILLUM_OFFON_TOGGLE_SURFACE |
  ILLUM_BULB_INTENSITY_SURFACE |
  ILLUM_CALOVERRIDE_TOGGLE_SURFACE |
  DIM_HALF_ANGLE |
  TRACKER_SUB_COMMAND_TYPE |
  TRACKER_GRAVITY_PLANE |
  TARGET_EDGE_MIN_MAX_WIDTH |
  TARGET_EDGE_MIN_MAX_TYPE |
  TARGET_EDGE_MIN_MAX_TYPE_TOGGLE |
  ARROW_DENSITY |
  TPS_SUB_COMMAND_TYPE |
  UNEQUAL_TOL_ZONE_LINE2 |
  UNEQUAL_TOL_ZONE_LINE3 |
  UNEQUAL_TOL_LINE2 |
  UNEQUAL_TOL_LINE3 |
  DATUM1_MMB_SIZE |
  DATUM2_MMB_SIZE |
  DATUM3_MMB_SIZE |
  DATUM1_MMB_SIZE2 |
  DATUM2_MMB_SIZE2 |
  DATUM3_MMB_SIZE2 |
  UNIT_AREA_LINE3 |
  HORIZONTAL_CLIPPING |
  VERTICAL_CLIPPING |
  LINE2_DATUMA_DOF |
  LINE2_DATUMB_DOF |
  LINE2_DATUMC_DOF |
  LINE3_DATUMA_DOF |
  LINE3_DATUMB_DOF |
  LINE3_DATUMC_DOF |
  CUSTOMIZED_DRF |
  FASTPROBEMODE |
  NSIGMA_FILTER |
  LINE2_FEATNAME_PROFILE |
  SIMUL_NUMBER_PROFILE_FCFS |
  SIMUL_NUMBER_POSITION_FCFS |
  REDUCTION_FILTER_PERCENTAGE |
  CYLINDER_STUD_TYPE |
  SHIFT_BONUS |
  SHIFT_BONUS2 |

  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 part program 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

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.