ApplicationOpenIFCDocument(String, IFCImportOptions) Method |
Opens an IFC document from disk using custom options.
Namespace: Autodesk.Revit.ApplicationServicesAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic Document OpenIFCDocument(
string fileName,
IFCImportOptions importOptions
)
Public Function OpenIFCDocument (
fileName As String,
importOptions As IFCImportOptions
) As Document
public:
Document^ OpenIFCDocument(
String^ fileName,
IFCImportOptions^ importOptions
)
member OpenIFCDocument :
fileName : string *
importOptions : IFCImportOptions -> Document
Parameters
- fileName String
-
The IFC file to be opened.
- importOptions IFCImportOptions
-
The options for this import.
Return Value
Document
The newly created document containing the IFC file.
Exceptions
See Also