GetClearAfterRollback Method


Failure Handling Options Get Clear After Rollback Method

Obtains the flag indicating if all posted failures should be removed silently when transaction is being rolled back.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool GetClearAfterRollback()

Return Value

Boolean
True to clear posted failures silently if the transaction is being rolled back, false to keep these failures in place (they may be displayed to the user).
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 →