Complete the code to place a dimension between two points in SolidWorks.
dimension = model.[1](point1, point2)The CreateDimension method is used to place a dimension between two points in SolidWorks.
Complete the code to set the annotation text for a dimension in SolidWorks.
dimension.[1] = "Length between points"
The Text property sets the annotation text for a dimension in SolidWorks.
Fix the error in the code to correctly place a dimension aligned with the model edge.
dimension = model.CreateDimension(edge, [1])The second parameter should be False to align the dimension with the edge, not perpendicular.
Fill both blanks to set the dimension's font size and color in SolidWorks.
dimension.Font.Size = [1] dimension.Font.Color = [2]
Font size is set to 14 for readability, and color is set to "Red" as a string.
Fill all three blanks to create a dimension, set its text, and position it at coordinates (x, y).
dim = model.[1](pointA, pointB) dim.Text = [2] dim.Position = ([3], [3])
Use CreateDimension to create the dimension, set text to "Distance", and position coordinates to 100.
