InsertBlock |

Funktionsname | dcl_InsertBlock
Syntax | `(dcl_InsertBlock DwgFilePath [as String] {InsertionPoint [as 3DPoint]} {Rotation [as Float]} {BlockName [as String]})`
Rückgabewert | 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 an event handler function).