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
@@ -75,6 +75,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)
# Now let's change the profile to a HEA200 standard profile instead.
# This will automatically change the body representation that we