IFCLinkDocumentExportScope Class


IFCLink Document Export Scope Class

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.
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
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 )
Top
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.
See Also