From 344cc1fb7de42680bae19472f7684843adc4d3f7 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 26 Apr 2024 11:49:44 +0500 Subject: [PATCH] file.by_type docs note --- src/ifcopenshell-python/ifcopenshell/file.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index e87663612b..3ca1854db9 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -457,6 +457,9 @@ class file(object): :type type: string :param include_subtypes: Whether or not to return subtypes of the IFC class :type include_subtypes: bool + + :raises RuntimeError: If `type` is not found in IFC schema. + :returns: A list of ifcopenshell.entity_instance.entity_instance objects :rtype: list[ifcopenshell.entity_instance.entity_instance] """