<Code Lib>
2027 Method
Changes 0
M

Document.NewOpening(Wall, XYZ, XYZ)

Description:
Creates a rectangular opening on a wall.
Remarks:
Slanted stacked walls do not support rectangular openings.

public Opening NewOpening(
	Wall wall,
	XYZ pntStart,
	XYZ pntEnd
)

  • wall
    Host element of the opening.
  • pntStart
    One corner of the rectangle.
  • pntEnd
    The opposite corner of the rectangle.
Return Value Opening If successful, an Opening object is returned.

  • Thrown if the wall does not exist in the given document, or if the wall doesn't support rectangular openings.

Loading…