Skip to Content
Bear documentation

hosted

Import from bear/revit/hosted.

Interfaces

OpeningParameters

Defined in: bear/revit/hosted.ts:23

The family's parameters a hosted window or door is placed by, by Revit name.

Properties

PropertyTypeDescription
defaultSillstring-
roughHeightstring-
roughWidthstringRevit's own: "Rough Width", "Rough Height", "Default Sill Height".
wallThicknessstringThe reporting parameter that measures the sample wall.

Functions

between()

function between(a, b): number;

Defined in: bear/revit/hosted.ts:33

How far apart two parallel planes are.

Parameters

ParameterType
aSurface
bSurface

Returns

number


inOpening()

function inOpening(names, faces?): RevitHosted;

Defined in: bear/revit/hosted.ts:44

A family that fills an <Opening> in a <Wall>. faces adds host faces the family's own values read (a window's depth from the wall's sheathing).

Parameters

ParameterType
namesOpeningParameters
faces?Readonly<Record<string, readonly [(props) => unknown, string]>>

Returns

RevitHosted

On this page