create_shape - note about IfcTypeProducts

This commit is contained in:
Andrej730
2024-06-21 17:23:45 +05:00
parent 1e092c140f
commit 4385bf0bcc
@@ -326,6 +326,9 @@ def create_shape(settings: settings, inst: entity_instance, repr: Optional[entit
Note that in Python, you must store a reference to the element returned by this function to prevent garbage
collection when you access its children. See #1124.
To create a representation for IfcTypeProduct you need to provide use `create_shape(settings, representation)`
(representation is provided as `inst` argument).
example:
settings = ifcopenshell.geom.settings()