Starts the sub-transaction.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2011
Syntax
Return Value
If started successfully, this method returns TransactionStatus.Started.
Remarks
Exceptions
Exception | Condition |
---|
Autodesk.Revit.Exceptions..::..InvalidOperationException |
Cannot modify the document for either a read-only external command is being executed, or changes to the document are temporarily disabled.
-or-
A sub-transaction can only be active inside an open Transaction.
-or-
The sub-transaction was already started and has not finished yet.
|
See Also