Create Block From Entities
block_create_from_entitiesCreate a block definition from selected entities using their handles. Specify block name and base point to group geometry into a reusable block.
Instructions
Create a new block definition from existing entities in the drawing.
Note: This tool works by using AutoCAD's BLOCK command (COM backend only). For ezdxf backend, entities must be added to a block definition directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New block definition name | |
| base_x | No | Block base point X | |
| base_y | No | Block base point Y | |
| handles | Yes | List of entity handles to include in the block |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||