ifcopenshell.api.type.get_related_objects
¶
Module Contents¶
- ifcopenshell.api.type.get_related_objects.get_related_objects(file, related_object=None, relating_type=None) → None¶
Gets all the related occurrences of a type
Do not use this function. It will be removed. Use ifcopenshell.util.element.get_type or ifcopenshell.util.element.get_types instead.
- Parameters:
related_object (ifcopenshell.entity_instance) – The IfcElement occurrence.
relating_type (ifcopenshell.entity_instance) – The IfcElementType type.
- Returns:
A list of occurrences of the type.
- Return type: