Complete the code to open the main drawing area in AutoCAD.
app = AutoCAD()
drawing = app.[1]The ActiveDocument property accesses the current drawing in AutoCAD.
Complete the code to add a new line object to the current AutoCAD drawing.
line = acad.model.AddLine([1], [2])
The AddLine method requires two points named startPoint and endPoint.
Fix the error in the code to correctly zoom to extents in AutoCAD.
acad.ActiveDocument.[1].ZoomExtents()The ActiveWindow property is used to access the window where ZoomExtents() is called.
Fill both blanks to select all objects and delete them in AutoCAD.
selection = acad.ActiveDocument.[1].SelectAll() acad.ActiveDocument.[2].Delete()
SelectionSets manages sets of selected objects, and ActiveSelectionSet is used to delete the selected objects.
Fill all three blanks to create a circle at a point with a radius in AutoCAD.
center = [1] radius = [2] circle = acad.model.[3](center, radius)
The center point is created with Point3d(0, 0, 0), radius is a number like 5.0, and the circle is added with AddCircle.
