AddBlock method

DTL Auto

AddBlock Method

Adds the block definition from the recipe specification.

See Also | Example

Signature

RetVal = object.AddBlock(ItemName)

Object

AecDtlRecipe The object or objects this method applies to.

ItemName

String, input-only;
The name of the data item that specifies the desired block.

RetVal

AcadBlock
The block reference inserted in the drawing.

Remarks

This method will resolve the block in the recipe specification, clone it from the source drawing, and insert a block reference in the current drawing.