Model Health Check
revit_model_healthRead Revit model quality counts before export or hand-over to surface file size, unit settings, and top warning groups.
Instructions
Read model quality counts before an export or hand-over.
Returns data with project metadata, file size in bytes, counts, unit settings and the ten most frequent warning groups. Absent objects have zero counts; unavailable metrics are null and described in top-level skipped entries. Use revit_list_warnings to inspect affected elements. A missing active document, overall read failure or timeout raises an error; timeout partials are not returned.
If more than one Revit instance is running, document is required; otherwise any instance may respond. Non-empty skipped means the answer is incomplete; skippedCount includes entries beyond the first 100.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Case-insensitive substring of the target active document title or file name. Reads require exactly one matching instance; omitted document requires exactly one running instance. Zero or multiple matches fail before publishing. revit_list_instances returns all matching instances, or all running instances when omitted. | |
| process_id | No | Exact positive Revit process ID. Takes precedence over document; if both are supplied they must agree. | |
| timeout_seconds | No | Positive integer seconds to wait for a result after pickup (120 when omitted); HTTP uses this as its response budget. Expiry raises an error, and increasing it does not override the add-in's execution limits. | |
| pickup_timeout_seconds | No | Positive integer seconds to wait for the add-in to pick up a local or SSH job (300 when omitted); ignored over HTTP. A pickup timeout raises an error but the pending job may still execute later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||