Skip to content

GeneralOpeningElement

Canonical path: NemAll_Python_ArchElements.GeneralOpeningElement

Bases: ArchElement, AllplanElement

Implementation of the General opening element

Methods:

  • __init__

    dummy, is only needed for the creation of the documentation by MkDocs

  • __repr__

    Convert to string

Attributes:

Properties property writable

Get the General opening properties

__init__ overloaded

__init__()

Initialize

__init__(
    wallOpeningProp: GeneralOpeningProperties,
    generalEle: BaseElementAdapter,
    startPnt: Point2D,
    endPnt: Point2D,
    drawPlacementPreview: bool,
)

Constructor

Parameters:

  • wallOpeningProp (GeneralOpeningProperties) –

    Opening properties

  • generalEle (BaseElementAdapter) –

    General element which includes the opening

  • startPnt (Point2D) –

    Start point of the opening

  • endPnt (Point2D) –

    End point

  • drawPlacementPreview (bool) –

    Draw a placement preview (no general element adaption) state

__init__(
    wallOpeningProp: GeneralOpeningProperties,
    generalEle: BaseElementAdapter,
    groundPlanePolygon: Polygon2D,
    drawPlacementPreview: bool,
)

Constructor

Parameters:

  • wallOpeningProp (GeneralOpeningProperties) –

    Opening properties

  • generalEle (BaseElementAdapter) –

    General element which includes the opening

  • groundPlanePolygon (Polygon2D) –

    Ground plan polygon

  • drawPlacementPreview (bool) –

    Draw a placement preview (no general element adaption) state

__init__(element: GeneralOpeningElement)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string