Share

TwoPointDistanceDimConstraint Object

Derived from: DimensionConstraint Object

Description

The TwoPointDistanceDimConstraint object represents a constraint that controls the distance between two points. The vertical, horizontal, or true distance can be controlled.

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.
Orientation Property that indicates an enum indicating if the constraint is controlling the horizontal, vertical, or true distance between the points.
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.
PointOne Property that returns the first sketch point being constrained.
PointTwo Property that returns the second sketch point being constrained.
TextPoint Gets and sets the position of the dimension text.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DimensionConstraints.AddTwoPointDistance, TwoPointDistanceDimConstraintProxy.NativeObject

Derived Classes

TwoPointDistanceDimConstraintProxy

Version

Introduced in version 5

Was this information helpful?