Function Name | dcl-InsertBlock |
---|---|
Syntax | (dcl-InsertBlock
DwgFilePath [as
String] {InsertionPoint [as
3DPoint]} {Rotation [as
Float]}
{BlockName [as
String]}) |
Return Type | Boolean (T if successful; otherwise NIL) |
This function inserts the model space of DwgFilePath into the current drawing's active layout. If InsertionPoint is not specified, the block is inserted at the origin. If Rotation is not specified, the block is inserted with a rotation angle of zero. If BlockName is not specified, the drawing filename will be used as the block name in the current drawing.
This function can be used to insert a block in cases when the INSERT command can not be used (e.g. from a synchronous event handler function).