Complete the code to start the hatch command in AutoCAD.
command = 'hatch [1]'
The 'hatch start' command initiates the hatch creation process in AutoCAD.
Complete the code to set the hatch pattern to 'ANSI31'.
hatch_pattern = '[1]'
'ANSI31' is a common hatch pattern representing diagonal lines.
Fix the error in the code to apply a gradient fill with two colors.
gradient_fill = Gradient('[1]', color1, color2)
The 'Gradient' function is used to create a gradient fill object.
Fill both blanks to set the hatch angle and scale.
hatch_properties = {'angle': [1], 'scale': [2]Common hatch angle is 30 degrees and scale can be 1.5 for pattern size.
Fill all three blanks to create a gradient fill with style, angle, and colors.
gradient = Gradient(style=[1], angle=[2], colors=[[3]])
'radial' style with 90 degrees angle and colors red and blue create a circular gradient.
