Complete the code to add a dimensional constraint between two points.
dimConstraint = doc.ModelSpace.AddDimensionalConstraint([1], point1, point2)The Linear constraint adds a linear dimension between two points.
Complete the code to set the value of a dimensional constraint.
dimConstraint.[1] = 100.0
The Value property sets the dimension measurement value.
Fix the error in the code to correctly apply a dimensional constraint.
dimConstraint = doc.ModelSpace.AddDimensionalConstraint([1], point1, point2)The AddDimensionalConstraint method expects the dimension type as the first argument.
Fill both blanks to create an angular dimensional constraint between two lines.
dimConstraint = doc.ModelSpace.AddDimensionalConstraint([1], line1, line2) dimConstraint.[2] = 45.0
Use Angular to create an angular constraint and set its Value to 45 degrees.
Fill all three blanks to create a radial dimensional constraint and set its value and name.
dimConstraint = doc.ModelSpace.AddDimensionalConstraint([1], circle) dimConstraint.[2] = 25.0 dimConstraint.[3] = "RadiusConstraint"
Use Radial to create a radial constraint, set its Value to 25, and name it Name.
