Change Element Type
revit_change_typeChange Revit elements to one compatible type. Family resolves duplicate type names; dry run rolls back; group members are skipped.
Instructions
Change each element to one compatible type; family resolves duplicate type names. dry_run rolls back. Group members are reported in skipped.inGroup; 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>",
"type_name": "<type_name>"
},
"name": "revit_change_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | ||
| dry_run | No | ||
| document | No | Title or file name substring of the target open document; needed when several are open. | |
| type_name | Yes | ||
| element_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||