Skip to content

Spd save as xml#954

Merged
jginternational merged 19 commits intomasterfrom
spd-save-as-xml
Oct 9, 2023
Merged

Spd save as xml#954
jginternational merged 19 commits intomasterfrom
spd-save-as-xml

Conversation

@jginternational
Copy link
Copy Markdown
Member

SPD files are the xml files that define the tree structure. For a given case, we store the properties tree in case.spd which is a compressed xml file.

With this PR, this file will remain uncompressed.

Basic users will be able to open and edit it, for example, to change a value.
For example, set the Inlet to 5 m/s

Advanced users will be able to edit it in a batch loop, for example in a python or shell script, create copies of this file, and changing the Inlet of each of this cases.

Developers will be able to open the spd file in order to implement better the writing scripts

Users that needed this features used to change the parameters in the ProjectParameters.json, which was a good way of doin it, but if you load the GiD model and write the input files again, you lost your changes. with this method, the changes remain with the model.

@jginternational jginternational self-assigned this Oct 3, 2023
@jginternational jginternational merged commit 9f44323 into master Oct 9, 2023
@jginternational jginternational deleted the spd-save-as-xml branch October 9, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant