2025.3 Class
Changes 0
C

IFCTransaction

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