PC-DMIS 2022.1 Object Library
SetLocationAxis Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
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.
PCDLRN ActiveX DLL > DimInfo Object : SetLocationAxis Method

Glossary Item Box

Description

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
ValueDescription
DINFO_LOC_A 
DINFO_LOC_D 
DINFO_LOC_H 
DINFO_LOC_L 
DINFO_LOC_NOT_USED 
DINFO_LOC_PA 
DINFO_LOC_PD 
DINFO_LOC_PR 
DINFO_LOC_R 
DINFO_LOC_RS 
DINFO_LOC_RT 
DINFO_LOC_S 
DINFO_LOC_T 
DINFO_LOC_USE_DIM_AXES 
DINFO_LOC_V 
DINFO_LOC_WORST 
DINFO_LOC_X 
DINFO_LOC_Y 
DINFO_LOC_Z 
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

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