IFCLinkDocumentExportScope
A class that allows for the export of one linked document to IFC.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.IFC.IFCLinkDocumentExportScope
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IFCLinkDocumentExportScope : IDisposable
The IFCLinkDocumentExportScope type exposes the following members.
Constructors
Name
Description
Public Method
IFCLinkDocumentExportScope
Instantiates a default IFCLinkDocumentExportScope object.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the IFCLinkDocumentExportScope
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
Linked documents can only be exported within a transaction, but it is illegal to start a transaction for a linked document. This gives a special exception that does the work necessary to make sure that the host documents do not end up in unstable states after the export. This is not guaranteed for any other workflow. To ensure that the lifetime of the object is correctly managed, you should declare an instance of this class as a part of a ‘using’ statement in C# or similar construct in other lanuguages.