Class RvtFileReader
- Namespace
- RvtIO
- Assembly
- RvtIO.dll
Main public API for reading Revit (.rvt) files.
public class RvtFileReaderInheritance
Inherited Members
Constructors
RvtFileReader(RvtReaderOptions?)
Creates a reader with the given options; null uses the defaults.
public RvtFileReader(RvtReaderOptions? options = null)Parameters
optionsRvtReaderOptions?
Methods
Read(string)
Read and parse a Revit file, returning structured element data.
public RevitFileInfo Read(string rvtPath)Parameters
rvtPathstring
Returns
Exceptions
- RvtInputException
-
The file cannot be read: missing, empty, not a compound file, cut or damaged.
- RvtLimitException
-
A stream is longer than one array can hold.