Complete the code to create an aligned dimension between two points.
dim = AlignedDimension(point1, point2, [1])The third parameter specifies the location of the dimension line, which is essential for creating an aligned dimension.
Complete the code to set the dimension style for an aligned dimension.
dim.style = [1]The 'aligned_style' is the correct style to apply for aligned dimensions.
Fix the error in the code to correctly create an aligned dimension object.
dim = AlignedDimension([1], point2, dimension_line_location)The first argument must be the first point of the dimension, named 'point1'.
Fill both blanks to set the dimension text and override the default text style.
dim.text = [1] dim.text_style = [2]
The dimension text is set to a descriptive string, and the text style is overridden with a specific style name.
Fill all three blanks to create an aligned dimension, set its style, and add it to the drawing.
dim = AlignedDimension([1], [2], [3]) dim.style = "AlignedStyle" drawing.add(dim)
The aligned dimension requires start and end points and the position of the dimension line to be created properly.
