Change Element Type
revit_change_typeChange Revit elements to a specified compatible type, using family to resolve duplicate type names and dry_run to preview skipped grouped elements.
Instructions
Change each element to one compatible type; family resolves duplicate type names. Members of groups that Revit refuses to change are reported in skipped.inGroup and skipped; dry_run predicts this, and the call is refused if every element is such a member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | ||
| dry_run | No | ||
| document | No | Case-insensitive substring of the target open document's title or file name. Required to disambiguate when the Revit process has more than one document open; omit only when a single document is open (the active document is used). An unknown or ambiguous reference is rejected before any change. | |
| type_name | Yes | ||
| element_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||