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

Collapse All Expand All

index
  Required long indicating the index position that is being set.

AXIS
  Required Enum_Dinfo_Loc_Axes enumeration representing the type the axis used at the given index position.

# Description

Sets the indexed axis location

Sets a Location dimension's axis.

# Syntax

Visual Basic

    Public Function SetLocationAxis( _
       ByVal index As Long, _
       ByVal AXIS As ENUM_DINFO_LOC_AXES _
    ) As Boolean

# Parameters

index
  Required long indicating the index position that is being set.
AXIS

  Value | Description
  --- | ---
  DINFO_LOC_USE_DIM_AXES |
  DINFO_LOC_WORST |
  DINFO_LOC_NOT_USED |
  DINFO_LOC_X |
  DINFO_LOC_Y |
  DINFO_LOC_Z |
  DINFO_LOC_D |
  DINFO_LOC_R |
  DINFO_LOC_V |
  DINFO_LOC_A |
  DINFO_LOC_L |
  DINFO_LOC_H |
  DINFO_LOC_PR |
  DINFO_LOC_PA |
  DINFO_LOC_T |
  DINFO_LOC_RT |
  DINFO_LOC_S |
  DINFO_LOC_RS |
  DINFO_LOC_PD |

  Required Enum_Dinfo_Loc_Axes enumeration representing the type the axis used at the given index position.

# Return Type

Boolean value indicating success or failure in setting the field type.

# Remarks

The dimension needs to be a location dimension in order for this command to succeed.

# See Also

DimInfo Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.