Fix #4655. profiles is now available as a keyword in the selector syntax.

This commit is contained in:
Dion Moult
2024-05-11 22:57:16 +10:00
parent 55026ca996
commit b7737cb6d3
2 changed files with 3 additions and 0 deletions
@@ -970,6 +970,8 @@ class Selector:
value = ifcopenshell.util.element.get_material(value, should_skip_usage=True)
elif key in ("materials", "mats"):
value = ifcopenshell.util.element.get_materials(value)
elif key == "profiles":
value = ifcopenshell.util.shape.get_profiles(value)
elif key == "styles":
value = ifcopenshell.util.element.get_styles(value)
elif key in ("item", "i"):