Share

DimensionConstraint Object


Description

The DimensionConstraint object represents the base class of all dimension constraints.

Methods

Name Description
Delete Method that deletes the constraint.
GetReferenceKey Method that generates and returns the reference key for this entity.

Properties

Name Description
AnchorPoints Gets the anchor points of dimension.
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
DimensionCenterPoint Gets the center of the dimension line.
Driven Gets and sets whether this dimension constraint is driving the geometry or the geometry is defining the value associated with the constraint.
Parameter Property that returns the parameter associated with this dimension constraint. If the Driven property of the constraint is True, this will return a ReferenceParameter object. Otherwise it will return a ModelParameter object.
Parent Property that returns the parent sketch of the object.
TextPoint Gets and sets the position of the dimension text.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AngularGeneralDimension.PromoteToSketch, DiameterGeneralDimension.PromoteToSketch, DimensionConstraints.Item, GeneralDimension.PromoteToSketch, HoleThreadNote.PromoteToSketch, LinearGeneralDimension.PromoteToSketch, RadiusGeneralDimension.PromoteToSketch

Derived Classes

ArcLengthDimConstraint, DiameterDimConstraint, EllipseRadiusDimConstraint, OffsetDimConstraint, OffsetSplineDimConstraint, RadiusDimConstraint, TangentDistanceDimConstraint, ThreePointAngleDimConstraint, TwoLineAngleDimConstraint, TwoPointDistanceDimConstraint

Version

Introduced in version 5

Was this information helpful?