BaseElementAdapterFilter
implementation of the base element adapter filter
BaseElementAdapterFilter
Canonical path: Utils.BaseElementAdapterFilter.BaseElementAdapterFilter
implementation of the base element adapter filter
get_bar_definitions
staticmethod
get_bar_definitions(
elements: BaseElementAdapterList,
) -> list[BaseElementAdapter]
get the elements for all type of bar definitions
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_bar_placements
staticmethod
get_bar_placements(
elements: BaseElementAdapterList,
) -> list[BaseElementAdapter]
get the elements for all type of bar definitions
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_door_swing
staticmethod
get_door_swing(elements: BaseElementAdapterList) -> list[BaseElementAdapter]
get the elements for door swing
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_elements_by_type
staticmethod
get_elements_by_type(
elements: BaseElementAdapterList, type_uuid: GUID
) -> list[BaseElementAdapter]
get the elements for the type
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
-
type_uuid
(GUID
) –element type
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_mesh_definitions
staticmethod
get_mesh_definitions(
elements: BaseElementAdapterList,
) -> list[BaseElementAdapter]
get the elements for all type of mesh definitions
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_python_part
staticmethod
get_python_part(elements: BaseElementAdapterList) -> BaseElementAdapter
get PythonPart
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
BaseElementAdapter
–filtered element
get_slab_tiers
staticmethod
get_slab_tiers(elements: BaseElementAdapterList) -> list[BaseElementAdapter]
get the elements for all type of wall tiers definitions
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements
get_wall_tiers
staticmethod
get_wall_tiers(elements: BaseElementAdapterList) -> list[BaseElementAdapter]
get the elements for all type of wall tiers definitions
Parameters:
-
elements
(BaseElementAdapterList
) –elements to filter
Returns:
-
list[BaseElementAdapter]
–filtered elements