mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
create_shape - note about IfcTypeProducts
This commit is contained in:
@@ -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
|
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.
|
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:
|
example:
|
||||||
|
|
||||||
settings = ifcopenshell.geom.settings()
|
settings = ifcopenshell.geom.settings()
|
||||||
|
|||||||
Reference in New Issue
Block a user