Skip to content

Commit

Permalink
update upload.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaptein committed Sep 25, 2024
1 parent 93596ee commit 964a487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hhnk_threedi_tools/core/schematisation/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def create_threedimodel(schematisation, revision):
threedimodel = hrt.call_threedi_api(
func=threedi.api.schematisations_revisions_create_threedimodel,
id=revision.id,
data={"inherit_from_previous_threedimodel": True, "inherit_from_previous_revision": False},
schematisation_pk=schematisation.id,
)
print(f"Creating threedimodel with id {threedimodel.id}")
Expand Down

0 comments on commit 964a487

Please sign in to comment.