Export View to PNG
revit_export_viewExport a selected Revit view to a PNG file to inspect outlines, zones, and room boundaries when numbers alone are insufficient. Returns local path, dimensions, size, and view metadata without modifying the model.
Instructions
Export a selected view to PNG when numbers do not explain geometry.
Returns data with localPath on the MCP client, image width/height in pixels, sizeBytes and view metadata, without base64. The export does not change the active view or write to the model; use it to inspect outlines, zones and room boundaries. A missing document, unknown or unsupported view, existing destination, missing PNG or download failure raises an error. Uses the default 120-second response and 300-second pickup budgets; timeouts raise errors without partial data.
If more than one Revit instance is running, document is required; otherwise any instance may respond.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | Required exact, case-sensitive non-template view name from revit_list_views, or its Revit view ID as a decimal string; no default. An exact name takes precedence over interpreting a numeric string as an ID. | |
| save_to | No | New PNG file path on the MCP client machine, not the Revit host; an existing destination causes an error. Default null downloads to a local temporary directory and returns localPath. | |
| document | No | Case-insensitive substring of the target active document title or file name; default null leaves requests unaddressed, so any instance may respond. Use a unique substring with multiple instances; revit_list_instances instead returns all matching instances, or all instances when omitted. | |
| pixel_size | No | PNG size in pixels along the fitted image dimension, an integer from 1 to 4000. Default 1600 fits the view at that size while preserving its aspect ratio. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||