Delete Elements
revit_deleteDelete Revit elements and their dependencies by ID, with optional dry-run rollback verification and document targeting for multiple open models.
Instructions
Delete elements and their Revit dependencies when removal is intended; IDs are unitless and the returned count includes dependents.
dry_run executes and rolls back, returning the same verification block without changing the model.
Pass document to address a specific open model when several are open; an unknown or ambiguous reference is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| element_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||