RVTDocs.com

Application.OpenIFCDocument(String)

Method
Description:
Opens an IFC document from disk using default options.
Syntax
public Document OpenIFCDocument(
	string fileName
)
Parameters
Parameter Type Description
fileName String The IFC file to be opened.
Return Value
Type Description
Document The newly created document containing the IFC file.
Exceptions
Exception Condition
ArgumentException If 'fileName' is an empty string.
ArgumentNullException Ifis passed as 'fileName' -or- A non-optional argument was null
FileArgumentNotFoundException If the file specified by 'fileName' cannot be found.
InvalidOperationException If Revit is missing document templates or if the file cannot be opened.