Capture Elements
revit_capture_elementsCapture 1-500 Revit elements as PNG in 3D or plan view, with temporary views that roll back; skipped items are reported for incomplete captures.
Instructions
Capture 1-500 elements as PNG (3d/plan, local/SSH); temporary view rolls back. skipped means incomplete; skippedCount is the total skipped.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"element_ids": "<element_ids>"
},
"name": "revit_capture_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 3d | |
| document | No | Session documentId, full path, title/file substring; selects among several Revit instances. | |
| padding_mm | No | ||
| pixel_size | No | PNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images. | |
| process_id | No | Process ID; must also match document. | |
| element_ids | Yes | ||
| output_path | No | New PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath. | |
| camera_coordinate_base | No | shared |