PC-DMIS 2022.1 Object Library
DimensionCmd Object Members
See Also  Overview  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL : DimensionCmd Object

Glossary Item Box

Public Methods

Public Method AddAxesAdd default location axes for End Location command
Public Method EvaluateEvaluates a dimension’s data from its feature data.
Public Method GetProfilePointInfosReturns all Point Info specified by InfoType
Public Method GetReferencedFeatureDimensions use one or more input features in their calculations. This method returns the Command object for the referenced input feature.

Public Properties

Public Property AngleRepresents the theoretical angle of a DIMENSION_ANGULARITY dimension.
Public Property Angle2DSupplementalRead/Write: (BOOL) m_supplemental on 2D Angle Dimension
Public Property Angle2DToFromRead/Write: (int) m_tofrom on 2D Angle Dimension
Public Property ArrowMultiplier

Multiplier for display arrows of dimension.

Public Property AXIS

Axis used with dimension. Possible values include the following:

DIMAXIS_NONE

DIMAXIS_XAXIS

DIMAXIS_YAXIS

DIMAXIS_ZAXIS

Public Property AxisLetter

Axis letter used to describe the axis or type of the dimension.

Public Property BonusReturns the bonus tolerance of a true position dimension.
Public Property Datum1Read/Write: First datum feature
Public Property Datum1ModifierRead/Write: First datum material condition
Public Property DATUM2Read/Write: Second datum feature
Public Property Datum2ModifierRead/Write: Second datum material condition
Public Property Datum3Read/Write: Third datum feature
Public Property Datum3ModifierRead/Write: Third datum material condition
Public Property DevAngle

Returns the deviation angle of a dimension.

Public Property Deviation

Returns the deviation of a dimension.

Public Property DimensionModifierRead/Write: Dimension material condition
Public Property Feat1Returns the ID of the first feature associated with a dimension.
Public Property Feat2Returns the ID of the second feature associated with a dimension.
Public Property Feat3Returns the ID of the second feature associated with a dimension.
Public Property GraphicalAnalysis

Flag indicating whether graphical analysis is ON for the dimension.

Public Property IDReturns the ID of a dimension.
Public Property IsLocationAxisDetermines whether or not the axis is a Location axis.
Public Property IsProfileDimensionRead Only: Indicates whether the dimension is Profile Dimension
Public Property IsTruePosAxisDetermines whether or not the axis is a Location axis.
Public Property LengthReturns the length associated with a dimension.
Public Property Max

Returns the maximum value of a dimension.

Public Property Measured

Returns the measured value of a dimension.

Public Property Min

Returns the minimum value of a dimension.

Public Property Minus

Represents the negative tolerance of a dimension.

Public Property NOMINALReturns the nominal associated with a dimension.
Public Property OutputMode

Output mode of the dimension.

Possible values include the following:

DIMOUTPUT_STATS

DIMOUTPUT_REPORT

DIMOUTPUT_BOTH

Public Property OutTol

Returns the out-of-tolerance value of a dimension.

Public Property ParallelPerpendicular

Indicates whether calculations are performed parallel or perpendicular to input for 2-D dimensions.

Possible values include the following:

DIM_PERPINDICULAR

DIM_PARALLEL

Public Property ParentRead Only: Returns Parent Command Object
Public Property Plus

Returns the positive tolerance of a dimension. Read-only Double.

Public Property Profile

This represents an enumerated value indicating what type of profile should be used.

Possible values include the following:

DIM_PROF_FORM_ONLY

DIM_PROF_FORM_AND_LOCATION

Public Property ProfilePointInfoCountRead Only: Returns the number of Point Info of Profile Dimension
Public Property RadiusType

Radius calculation type used with true position dimensions.

Possible values include the following:

DIM_NO_RADIUS

DIM_ADD_RADIUS

DIM_SUB_RADIUS

Public Property TextualAnalysis

Flag indicating whether textual analysis is ON for the dimension.

Public Property TruePositionDatumModifierRead/Write: Position material condition
Public Property TruePositionModifier

Enumeration value indicating material conditions that should be used to calculate possible bonus tolerances.

Possible values include the following:

DIM_RFS_RFS

DIM_RFS_MMC

DIM_RFS_LMC

DIM_MMC_RFS

DIM_MMC_MMC

DIM_MMC_LMC

DIM_LMC_RFS

DIM_LMC_MMC

DIM_LMC_LMC

Public Property TruePosUseAxis

Enumeration value indicating axis type to use with true position dimension.

Possible values include the following:

DIM_AXIS_AVERAGE

DIM_AXIS_START_POINT

DIM_AXIS_END_POINT

Public Property Units

Unit type in use by dimension. Possible values include the following:

INCH

MM (for millimeters)

See Also

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