Transaction
Less than 1 minute
Some methods based on Transaction class encapsulation
Tips
The following documentation only provides function prototypes, if you have any questions please check the Documentation
RunTransaction
Executes a transaction, which is automatically committed when the action completes and rolled back if an error occurs
RevitSugar.DB.TransactionExtension.RunTransaction(Autodesk.Revit.DB.Document,System.String,System.Action,Autodesk.Revit.DB.IFailuresPreprocessor)
RunTransactionGroup
Executes a transaction group that is automatically committed when the action completes and rolled back if an error occurs
RevitSugar.DB.TransactionExtension.RunTransactionGroup(Autodesk.Revit.DB.Document,System.String,System.Action<Autodesk.Revit.DB.Document>)