Rotate Elements
revit_rotateRotate Revit elements around a vertical axis through a specified center or their combined bounding box center, with a dry-run option to preview changes without committing.
Instructions
Rotate elements about a vertical axis through center_mm, or through their combined bounding box center. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member.
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>",
"angle_deg": "<angle_deg>"
},
"name": "revit_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| document | No | Title or file name substring of the target open document; needed when several are open. | |
| angle_deg | Yes | ||
| center_mm | No | ||
| element_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||