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).
public class IFCTransaction : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IFCTransaction(IFCFile) | None | Instantiates a transaction object. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Commit() | None | Commits all changes made to the IFC file during the transaction. | |
| Dispose() | None | Releases all resources used by the IFCTransaction | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| RollBack() | None | Rolls back all changes made to the IFC file during the transaction. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |