Hi,
I am learning to use the API (python in this case) and I want to make sure I understand correctly the behavior of setting the inputs for an analysis.
If I load a file using the GUI and open the VSPAERO GUI, I get the variables set to the values they have in the file. So far so good.
If I load a file using the API and check for the input values of an analysis with PrintAnalysisInputs, I see some preset values that do not correspond to the values in the file. If I, however, run SetAnalysisInputDefaults and then PrintAnalysisInputs, it seems like the values of the file are loaded, not some default/preset values.
The workflow for loading a file and changing some inputs would then be ReadVSPFile -> SetAnalysisInputDefaults -> SetXXAnalysisInput. Can you confirm that I'm understanding the behavior correctly?
Also, if I do some SetXXAnalysisInput and then WriteVSPFile, the analysis input values are not written into the file, correct? It would then be safe to write the file, without altering the analysis input values in it.
Regards,
Mikel