rename get_elements_using_pset -> get_elements_by_pset for consistency

To be consistent with other get_elements_by_xxx methods.
This commit is contained in:
Andrej730
2024-09-05 17:38:22 +05:00
parent a03c55d15f
commit a867e72fd3
9 changed files with 16 additions and 16 deletions
@@ -441,7 +441,7 @@ def get_properties(
return results
def get_elements_using_pset(pset: ifcopenshell.entity_instance) -> set[ifcopenshell.entity_instance]:
def get_elements_by_pset(pset: ifcopenshell.entity_instance) -> set[ifcopenshell.entity_instance]:
"""Retrieve the elements (or element types) that are using the provided property set."""
is_ifc2x3 = pset.file.schema == "IFC2X3"
elements = set()