ShowOverwriteWarning Property


UISave As Options Show Overwrite Warning Property

Identifies if UI should show an overwrite warning dialog.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool ShowOverwriteWarning { get; set; }

Property Value

Boolean
True if the UI should show a warning dialog prompting the user to overwrite a file if it exists, False if it should not. Default is false.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →