From 7bbc81b7c3fe0635a48382962b43819e43550810 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 26 Jun 2024 11:24:53 +0500 Subject: [PATCH] create_shape - include more types in the docs --- src/ifcopenshell-python/ifcopenshell/geom/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 736bd00539..00c1018a0b 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -331,6 +331,8 @@ def create_shape( :return: - `inst` is IfcProduct and `repr` provided / None -> ShapeElementType - `inst` is IfcRepresentation and `repr` is None -> ShapeType + - `inst` is IfcRepresentationItem and `repr` is None -> ShapeType + - `inst` is IfcProfileDef and `repr` is None -> ShapeType - `inst` is IfcPlacement / IfcObjectPlacement -> Transformation - `inst` is IfcTypeProduct and `repr` is None -> None - `inst` is IfcTypeProduct and `repr` is provided -> RuntimeError