Complete the code to apply a parametric constraint that fixes the length of a line.
line.Length = [1]Setting the line length to a fixed value like 50 ensures the length is constrained.
Complete the code to add a horizontal constraint to a line in AutoCAD.
line.[1]Constraint = True
Applying a horizontal constraint fixes the line orientation horizontally.
Fix the error in the code to correctly apply a coincident constraint between two points.
applyConstraint(point1, point2, [1])The 'Coincident' constraint makes two points occupy the same location.
Fill both blanks to create a parametric constraint that sets a circle's radius and locks it.
circle.Radius = [1] circle.[2] = True
Setting the radius to 25 and locking it ensures the circle size stays fixed.
Fill all three blanks to define a parametric constraint that sets a rectangle's width, height, and locks both dimensions.
rectangle.Width = [1] rectangle.Height = [2] rectangle.[3] = True
Width 100 and height 50 set the rectangle size; locking keeps dimensions fixed.
