DimensionConstraints.AddDiameter Method
Parent Object: DimensionConstraintsDescription
Method that creates a new diameter dimension constraint on the input circle or arc.
Remarks
This method will fail in the case where a driving dimension is specified and it will overconstrain the sketch. The picture below illustrates the result of adding a diameter dimension constraint.
Syntax
DimensionConstraints.AddDiameter( Entity As SketchEntity, TextPoint As Point2d, [Driven] As Boolean ) As DiameterDimConstraintParameters
Name | Type | Description |
Entity | SketchEntity | Input or SketchArc object. |
TextPoint | Point2d | Input object that defines the position of the dimension text. |
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. |