Documentation example fixes where I forgot to give things with representations a placement

This commit is contained in:
Dion Moult
2023-01-04 16:09:04 +11:00
parent 981b6cd65f
commit 9e45435024
6 changed files with 16 additions and 15 deletions
@@ -79,6 +79,7 @@ class Usecase:
body = ifcopenshell.api.run("geoemtry.add_profile_representation",
context=body_context, profile=hea100, depth=1000)
ifcopenshell.api.run("geometry.assign_representation", model, product=beam, representation=body)
ifcopenshell.api.run("geometry.edit_object_placement", model, product=beam)
# Let's change the cardinal point to be the top center of the axis
# line. This is represented by the number "8". Consult the IFC