Update code_examples.rst

Replaced "product=wall" with "products=[wall]" in:
# Place our wall in the ground floor
ifcopenshell.api.spatial.assign_container(model, relating_structure=storey, products=[wall])
As code example fails otherwise
This commit is contained in:
dylcos
2024-09-24 18:43:38 +01:00
committed by Dion Moult
parent d868eeb77d
commit fa92d3bd59
@@ -263,7 +263,7 @@ Create a simple model from scratch
ifcopenshell.api.geometry.assign_representation(model, product=wall, representation=representation)
# Place our wall in the ground floor
ifcopenshell.api.spatial.assign_container(model, relating_structure=storey, product=wall)
ifcopenshell.api.spatial.assign_container(model, relating_structure=storey, products=[wall])
# Write out to a file
model.write("/home/dion/model.ifc")