Drawing: Critique (premium quality checks)
drawing_critiqueRun entity and standards checks across model and paper spaces to detect drawing issues before finalizing.
Instructions
Run premium-quality checks. Returns zero issues for a clean drawing.
Standard production gate: must return [] before drawing_finalize.
The entity checks (construction_left, untrimmed_corner, duplicate_entities,
dim_overlap) read every entity of every space - model and every paper layout -
and compare pairs only within one space. Refusals and failures are issues, never
silence: a check that raises returns an error issue of its focus with
detail.code check_failed; a read that could not cover the drawing (more than
MAX_QA_ENTITIES entities, default 2,000,000; or a live export whose per-layout
counts differ from AutoCAD's) returns detail.code scan_incomplete. Neither code
is a focus name. A quarantined document is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Subset of: iso128, layer_color, dim_overlap, untrimmed_corner, duplicate_entities, construction_left, gdt, the P&ID focuses pid_dangling_line, pid_duplicate_tag, pid_incompatible_connection, pid_untagged_instrument, pid_illegal_tag, pid_unconnected_equipment (silent on a drawing with no P&ID symbols), and the mechanical focuses mech_missing_centreline, mech_unhatched_section, mech_view_misaligned, mech_duplicate_dimension, mech_thread_unrepresented, mech_bom_balloon_mismatch (silent on a drawing with no mechanical part), and the architectural focuses arch_room_unlabelled, arch_wall_gap, arch_opening_clash (silent on a drawing with no ACADMCP_ARCH record), and the topology focuses topo_dangling_endpoint, topo_near_miss, topo_interior_crossing (network layers no P&ID or architectural focus reads). None = run all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |