OpeningModificationUtil
implementation of the opening modification utilities
OpeningModificationUtil
Canonical path: Utils.Architecture.OpeningModificationUtil.OpeningModificationUtil
implementation of the opening modification utilities
get_opening_element
staticmethod
get_opening_element(selected_ele: BaseElementAdapter) -> BaseElementAdapter
get the opening element from the selected element
Parameters:
-
selected_ele
(BaseElementAdapter
) –selected element
Returns:
-
BaseElementAdapter
–opening element
get_placement_element
staticmethod
get_placement_element(
opening_ele: BaseElementAdapter, opening_start_pnt: Point2D
) -> tuple[BaseElementAdapter, Polygon2D, Line2D, Line2D | Arc2D]
get the placement element data of the opening
Parameters:
-
opening_ele
(BaseElementAdapter
) –opening element
-
opening_start_pnt
(Point2D
) –opening start point
Returns:
Placeholder