Share

DimensionConstraints Object


Description

The DimensionConstraints object provides access to all the dimension sketch constraints ( objects) in a sketch and provides methods to create additional dimension sketch constraints.

Methods

Name Description
AddArcLength Method that creates a new arc length dimension on the input arc. This method will fail in the case where a driving dimension is specified and it will overconstrain the sketch.
AddDiameter Method that creates a new diameter dimension constraint on the input circle or arc.
AddEllipseRadius Method that creates a new dimension constraint defining the major or minor radius of the ellipse. This method will fail in the case where a driving dimension is specified and it will overconstrain the sketch.
AddOffset Method that creates a new offset dimension constraint between two entities.
AddOffsetSpline Creates a new offsetSpline dimension constraint between offset spline and the original spline.
AddRadius Method that creates a new radius dimension constraint on the input circle or arc.
AddTangentDistance Method that creates a new tangent distance dimension constraint between the two input entities. The input entities can consist of two circles or a line and a circle. Arcs can also be used in place of the circles.
AddThreePointAngle Method that creates a new angular dimension constraint between three points.
AddTwoLineAngle Method that creates a new angular dimension constraint between two lines.
AddTwoPointDistance Method that creates a new linear dimension constraint between two points.

Properties

Name Description
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.
Count Property that returns the number of items in this collection.
Item Returns the specified sketch dimension constraint object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DrawingSketch.DimensionConstraints, PlanarSketch.DimensionConstraints, PlanarSketchProxy.DimensionConstraints, Sketch.DimensionConstraints, SketchBlockDefinition.DimensionConstraints, SketchBlockDefinitionProxy.DimensionConstraints

Samples

Name Description
Create sketch elliptical arc This sample demonstrates creating an elliptical arc in a sketch and dimensioning its minor radius.

Version

Introduced in version 5

Was this information helpful?