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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →