Reads content from a file of IFC format.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void Read( IFCFileReadOptions readOptions, out int pNumErrors, out int pNumWarnings )
Parameters
- 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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Error reading opening model for unzipping. Error reading IFC file. |
