Hi,
I have a few of the exact same models (same domains, mesh, physics, etc), run with different inputs. One of these models has a lot of result plot groups which took a lot of time to set up. It would take hours and hours to create all of the exact same plots in the other models.
So, I thought of this solution: 1) Save all of the files as .java files. 2) copy the plot group lines of code from the file with the plots 3) paste these lines into each of the remaining models.
I did that using the method found here: https://www.comsol.com/blogs/automate-modeling-tasks-comsol-api-use-java/
However, once I open up the .class Java file, the plot groups and all of the settings are there (good!), but there is no solution.
So, my question is, is there a way to save the model solution in the java file, so when I compile and open it, it is still there?
Thank you, Dan