RVTDocs.com
Namespace: Autodesk.Revit.DB.IFC Class: IFCFile

IFCFile.Read(IFCFileReadOptions, Int32, Int32)

Method
Description:
Reads content from a file of IFC format.
Syntax
public void Read(
	IFCFileReadOptions readOptions,
	out int pNumErrors,
	out int pNumWarnings
)
Parameters
Parameter Type Description
readOptions IFCFileReadOptions The IFC file read options.
pNumErrors Int32 The number of errors reported during the read process. The actual messages will be in the log file.
pNumWarnings Int32 The number of warnings reported during the read process. The actual messages will be in the log file.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException Error reading opening model for unzipping. Error reading IFC file.