You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently started using the program. I have a simple workflow with an input, a script and another script to print the result (it's just a test because a parametric study didn't work because of the problem I am describing).
The script that I use in written in Python and it basicly writes the input in a xml file, witch is the input of an executable that does some calculations and writes the result in a .txt .
The result seems to be correct, but it doesn't pass it as an output to the next script using RCE.write_output ("output0", output_result) . All inputs and outputs are correctly declared and the components are connected. Is it maybe a problem of my executable?
Thank you.
The text was updated successfully, but these errors were encountered:
Well, by considering the given details, I understand that you will pass a .txt file to output0. In order to do this, you need to specify the path to your text file in the write output command. E.g. RCE.write_output("output0", "${dir:tool}/output_result.txt"). You can make use of the directories combobox at the right-hand side to insert the proper placeholder for your use case.
The output of the script is float read from a .txt, to be used in an optimization, eventually. I changed the code to work in Jython and I am able to pass outputs from my script to the Optimizer. The same doesn't apply when using Python, the code executes correctly and the results are correct but it doesn't pass the result forward to the next component.
I recently started using the program. I have a simple workflow with an input, a script and another script to print the result (it's just a test because a parametric study didn't work because of the problem I am describing).
The script that I use in written in Python and it basicly writes the input in a xml file, witch is the input of an executable that does some calculations and writes the result in a .txt .
The result seems to be correct, but it doesn't pass it as an output to the next script using RCE.write_output ("output0", output_result) . All inputs and outputs are correctly declared and the components are connected. Is it maybe a problem of my executable?
Thank you.
The text was updated successfully, but these errors were encountered: