Share

DimensionConstraints.AddTwoLineAngle Method

Parent Object: DimensionConstraints

Description

Method that creates a new angular dimension constraint between two lines.

Remarks

The position of the text point defines which of the four quadrants the constraint is placed within. The picture below illustrates the result of adding a two-line angle dimension constraint.

Syntax

DimensionConstraints.AddTwoLineAngle( LineOne As SketchLine, LineTwo As SketchLine, TextPoint As Point2d, [Driven] As Boolean ) As TwoLineAngleDimConstraint

Parameters

Name Type Description
LineOne SketchLine Input sketch line.
LineTwo SketchLine Input sketch line.
TextPoint Point2d Input object that defines the position of the dimension text and which of the four possible quadrants to place the dimension within.
Driven Boolean Optional input Boolean that specifies whether the dimension should be a driven or driving dimension. The default value is False, which causes a driving dimension constraint to be created.

This is an optional argument whose default value is False.

Version

Introduced in version 5

Was this information helpful?