Revit 2025.3 API
IFCFileRead(IFCFile |
Reads content from a file of IFC format.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void Read( IFCFileReadOptions readOptions, out int pNumErrors, out int pNumWarnings )
Public Sub Read ( readOptions As IFCFileReadOptions, <OutAttribute> ByRef pNumErrors As Integer, <OutAttribute> ByRef pNumWarnings As Integer )
public: void Read( IFCFileReadOptions^ readOptions, [OutAttribute] int% pNumErrors, [OutAttribute] int% pNumWarnings )
member Read : readOptions : IFCFileReadOptions * pNumErrors : int byref * pNumWarnings : int byref -> unit
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Error reading opening model for unzipping. Error reading IFC file. |
See Also