OnRolledBack Method


This method is called at the end of rolling back a transaction

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
void OnRolledBack(
	Document document,
	string strTransactionName
)
Visual Basic
Sub OnRolledBack ( _
	document As Document, _
	strTransactionName As String _
)
Visual C++
void OnRolledBack(
	Document^ document, 
	String^ strTransactionName
)

Parameters

document
Type: Autodesk.Revit.DBDocument
The document associated with the transaction
strTransactionName
Type: SystemString
The transaction's name

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 →