The downloaded files are now stored in the 3Di working directory, but not according to the default folder structure schematisation_name\revision {nr}\results. To be able to do this, we would need to know the schematisation name and revision nr. The only things we know from the lizard scenarios endpoint are model_identifier (which is the ThreediModel.id), the model_revision (which is the SchematisationRevision.id), and model_name (which is the ThreediModel.slug).
[x] If users have 3Di Models & Simulations installed and configured, use the functionalities of 3Di Models & Simulations to get the schematisation name and revision number from the 3Di API by searching for the SchematisationRevision.id
[x] Save the downloaded files in schematisation_name\revision {nr}\results\{scenario name}
The downloaded files are now stored in the 3Di working directory, but not according to the default folder structure
schematisation_name\revision {nr}\results
. To be able to do this, we would need to know the schematisation name and revision nr. The only things we know from the lizard scenarios endpoint aremodel_identifier
(which is theThreediModel.id
), themodel_revision
(which is theSchematisationRevision.id
), andmodel_name
(which is theThreediModel.slug
).SchematisationRevision.id
schematisation_name\revision {nr}\results\{scenario name}