Table of Contents

Namespace RvtIO.Model

Classes

ClassField

A field in a class schema.

ClassSchema

A class definition from the Formats/Latest schema table.

Definition

Identifies a parameter by its built-in name, id and display name.

DimensionData

Dimension / constraint geometry decoded from 0x091F blocks. Revit stores dimensions and dimension-like constraints (OST_Dimensions, OST_WeakDims, OST_Constraints) as an ordered list of reference points (the witness-line endpoints). Consecutive points form measured segments; the distance between them is the dimension value.

Element

A Revit element: an instance or a type, with its identity, parameters and geometry.

ExternalFileRef

A reference to an external file.

FileMetadata

Facts stored in the basic file information of the Revit file.

GeoBrepSolid

A connected boundary-representation shell recovered from Revit's GRep.

GeoEdge

An edge connecting two 3D points.

GeoFace

A planar face defined by origin + two direction vectors.

GeoInstance

A placed copy of a symbol geometry.

GeoOpening

A rectangular opening (void) in a solid element. Position is relative to the parent solid's local coordinate system. All dimensions in feet.

GeoSolid

Extruded solid: a 2D profile swept along a direction. Used for walls (rectangle profile extruded vertically). All dimensions in feet.

GeometryData

Parsed geometry representation from GRep blocks (classIdx & 0xFFFF == 0x07D7). Mirrors the Geometry/Face/Edge hierarchy of Revit's geometry model.

InstanceTransform

FamilyInstance placement transform in world coordinates. Equivalent to Revit FamilyInstance.GetTransform().

LocationCurve

Location curve for wall elements (equivalent to Revit LocationCurve). Coordinates are in LOCAL space - apply GRep Transform to get world coordinates.

MaterialLayer

A single layer in a CompoundStructure (wall/floor/ceiling type).

Parameter

An element parameter - mirrors the Revit API Parameter class. Value is typed according to StorageType: double, int, string, or int (ElementId).

ParameterDefinition

A de-duplicated parameter definition shared across all element instances that carry this parameter. Referenced by RvtIO.Model.Parameter.Id.

ParameterListConverter

Serializes an element's parameter list as a compact id -> value map ({ "-1006401": 0.0049, "262801": "Type A" }) instead of an array of { "Id", "Value" } objects. Every other parameter field is invariant per definition id and lives in RvtIO.Model.RevitFileInfo.ParameterDefinitions, so the only per-instance data is the value - making the map a lossless, much smaller encoding. Write-only; the in-memory model keeps the full System.Collections.Generic.List`1.

ProjectInfo

The project information of the Revit file.

RevitFileInfo

Everything the reader decodes from one Revit file.

TransmissionInfo

The transmission data of a file that was sent for exchange.

Enums

StorageType

How a parameter value is stored.