Insert Block Reference
entity_create_block_refInsert a block reference instance into a drawing using an existing block definition. Validates the name first, rejecting undefined or layout blocks before any write.
Instructions
Insert a block reference (instance of an existing block definition).
Refused before any write, on both engines: a name that is not a block
definition in this drawing (block 'X' is not defined — check
block_list), a layout block (*Model_Space / *Paper_Space, a
reference cycle) and a non-string name. The same gate as block_insert;
this tool is the no-attributes form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion X | |
| y | Yes | Insertion Y | |
| name | Yes | Block definition name (must exist in drawing) | |
| layer | No | Layer name | |
| scale_x | No | X scale factor | |
| scale_y | No | Y scale factor | |
| rotation | No | Rotation angle in degrees |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||