Table of Contents

Class WallOpening

Namespace
OpenMEPRevit.Element
Assembly
OpenMEPRevit.dll
public class WallOpening
Inheritance
WallOpening
Inherited Members

Methods

ByPointAndDiameter(Wall, Point, double)

public static Element ByPointAndDiameter(Wall wall, Point point, double diameter)

Parameters

wall Wall
point Point
diameter double

Returns

Element

ByPointWidthHeight(Wall, Point, double, double)

Creates a wall opening at a specified point with a given width and height.

public static Element? ByPointWidthHeight(Wall wall, Point point, double width, double height)

Parameters

wall Wall

The wall in which the opening is to be created.

point Point

The point at which the opening is to be created.

width double

The width of the opening.

height double

The height of the opening.

Returns

Element

The created wall opening as a Revit element, or null if the opening could not be created.

ByStartPointEndPoint(Wall, Point, Point)

Creates a wall opening between two specified points.

public static Element ByStartPointEndPoint(Wall wall, Point startPoint, Point endPoint)

Parameters

wall Wall

The wall in which the opening is to be created.

startPoint Point

The start point of the opening.

endPoint Point

The end point of the opening.

Returns

Element

The created wall opening as a Revit element.