Complete the code to create a multi-line text object in AutoCAD.
mtext = acad.model.AddMText(point, width, [1])The AddMText method requires the text content as the third argument to create multi-line text.
Complete the code to set the width of the multi-line text box.
mtext.Width = [1]The Width property expects a numeric value defining the width of the text box.
Fix the error in setting the text height property.
mtext.[1] = 2.5
The correct property to set the height of the text in MTEXT is 'TextHeight'.
Fill both blanks to create and set the location of multi-line text.
point = acad.Utility.[1](0, 0, 0) mtext = acad.model.AddMText([2], 50, 'Hello World')
The Point3d method creates a 3D point for location, which is used as the first argument in AddMText.
Fill all three blanks to set the text content, height, and color of MTEXT.
mtext = acad.model.AddMText(point, 100, [1]) mtext.[2] = 3.0 mtext.[3] = 256
The first blank is the text string, the second is the property to set text height, and the third sets the color.
