IFCTransaction
Description:
IFC transactions are context-like objects that guard any changes made to an IFC file.
IFC transactions are context-like objects that guard any changes made to an IFC file.
Remarks:
Any change to an IFC file can only be made while there is an active transaction open for that file. Changes do not become a part of the file until the active transaction is committed. Consequently, all changes made in a transaction can be rolled back either explicitly or implicitly (by the destructor).
Any change to an IFC file can only be made while there is an active transaction open for that file. Changes do not become a part of the file until the active transaction is committed. Consequently, all changes made in a transaction can be rolled back either explicitly or implicitly (by the destructor).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.IFC.IFCTransaction
System.Object
Autodesk.Revit.DB.IFC.IFCTransaction
public class IFCTransaction : IDisposable
| Name | Return Type | Description |
|---|---|---|
| IFCTransaction(IFCFile) | None | Instantiates a transaction object. |
| Name | Return Type | Description |
|---|---|---|
| Commit() | None | Commits all changes made to the IFC file during the transaction. |
| Dispose() | None | Releases all resources used by the |
| RollBack() | None | Rolls back all changes made to the IFC file during the transaction. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |