Complete the code to create a basic 2D sketch line in SolidWorks.
CreateLine([1], 0, 10, 0)
The line starts at x=0 on the sketch plane, so the first coordinate must be 0.
Complete the code to set the length of the sketch line to 20 units.
SetLineLength(line1, [1])The length of the line is set to 20 units as required.
Fix the error in the code to fully constrain the sketch line horizontally.
AddConstraint(line1, [1])To constrain the line horizontally, the 'Horizontal' constraint must be applied.
Fill both blanks to define a rectangle sketch with width 30 and height 20.
CreateRectangle(width=[1], height=[2])
The rectangle's width is 30 units and height is 20 units as specified.
Fill all three blanks to fully define a circle sketch with center at (10, 15) and radius 5.
CreateCircle(centerX=[1], centerY=[2], radius=[3])
The circle is centered at (10, 15) with a radius of 5 units.
