Find Blocks By Name
block_find_referencesFind all insert references to a named block definition in an AutoCAD drawing, with optional field projection and a compact envelope for efficient scanning.
Instructions
Find all insert references to a specific block definition.
Bounded by the backend's own default entity_list page (200 INSERTs scanned),
which is a pre-existing limit, not a new one: the compact envelope's total
counts the references found within that scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Block definition name to search for | |
| fields | No | Project to these fields, in this order (e.g. ['handle','type','layer']); 'properties.<key>' reaches one nested value. Omit for the full record; an unknown name errors and lists the valid ones. | |
| compact | No | Return a columnar {fields, rows, count, offset, total, truncated, next_offset} envelope instead of dicts: much cheaper per row, and the only shape that reports truncation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |