diff --git a/src/ifcopenshell-python/docs/ifcopenshell-python/code_examples.rst b/src/ifcopenshell-python/docs/ifcopenshell-python/code_examples.rst index 90b8806057..94e45ba295 100644 --- a/src/ifcopenshell-python/docs/ifcopenshell-python/code_examples.rst +++ b/src/ifcopenshell-python/docs/ifcopenshell-python/code_examples.rst @@ -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")