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
wallWallpointPointdiameterdouble
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
wallWallThe wall in which the opening is to be created.
pointPointThe point at which the opening is to be created.
widthdoubleThe width of the opening.
heightdoubleThe 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
wallWallThe wall in which the opening is to be created.
startPointPointThe start point of the opening.
endPointPointThe end point of the opening.
Returns
- Element
The created wall opening as a Revit element.