Table of Contents

Class GeometryData

Namespace
RvtIO.Model
Assembly
RvtIO.dll

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

public class GeometryData

Inheritance

Inherited Members

Properties

BoundingBox

Outer bounding box [minX, minY, minZ, maxX, maxY, maxZ] in feet.

public double[]? BoundingBox { get; set; }

Property Value

double[]?

BrepSolids

Topological BRep shells decoded directly from Revit geometry. Face indices refer to RvtIO.Model.GeometryData.Faces; separate shells are separate solids.

public List<GeoBrepSolid>? BrepSolids { get; set; }

Property Value

List<GeoBrepSolid>?

Edges

List of edges with 3D coordinates.

public List<GeoEdge>? Edges { get; set; }

Property Value

List<GeoEdge>?

Faces

List of geometry nodes (GGroups containing faces/edges).

public List<GeoFace> Faces { get; set; }

Property Value

List<GeoFace>

Flags

Flags from GInfoBlob header.

public uint Flags { get; set; }

Property Value

uint

GStyleElemId

GStyle element ID (material/graphics style reference).

public int GStyleElemId { get; set; }

Property Value

int

Instances

Nested family-symbol geometry references retained from GInstance nodes. The transform maps the referenced symbol's local coordinates into this representation's coordinate system.

public List<GeoInstance>? Instances { get; set; }

Property Value

List<GeoInstance>?

Solids

Extruded solids (e.g. wall extrusions). Computed from bbox + width param.

public List<GeoSolid>? Solids { get; set; }

Property Value

List<GeoSolid>?

Transform

3x4 transform matrix [r00,r01,r02,tx, r10,r11,r12,ty, r20,r21,r22,tz] from local to world coordinates. Null if identity or not found.

public double[]? Transform { get; set; }

Property Value

double[]?

Vertices

Unique vertices [x, y, z] in feet, deduplicated across all faces.

public List<double[]>? Vertices { get; set; }

Property Value

List<double[]>?