Complete the code to add a linear parameter to a dynamic block.
block.AddParameter('[1]', startPoint, endPoint)
The LinearParameter is used to add a linear dimension control to a dynamic block.
Complete the code to set the parameter's property to allow stretching.
parameter.[1] = True
Setting IsStretchable to True allows the parameter to stretch parts of the block.
Fix the error in the code to correctly assign a parameter to a dynamic block.
dynamicBlock.[1](parameter)The AddParameter method correctly adds a parameter to the dynamic block.
Fill both blanks to create a rotation parameter and set its angle.
param = block.[1](centerPoint) param.[2] = 45
AddRotationParameter creates a rotation control, and Angle sets its rotation angle in degrees.
Fill all three blanks to create a visibility parameter, set its name, and enable it.
visParam = block.[1]() visParam.[2] = 'ShowDetails' visParam.[3] = True
AddVisibilityParameter creates a visibility control, Name sets its identifier, and IsVisible enables it.
