Hi,
I have run into an issue with automation in my Grasshopper file. In short, the code below takes on a value from the slider furthest to the left in order to calculate the moment of inertia of different sections of a ship. This calculation is done in the green group. This data is then processed and input into a block of python code that takes this vector and automatically writes it to a text file, different files for different initial plate thicknesses.
The code works without any issues apart from having to manually adjust the slider for every iteration. For this reason I am looking for a method that knows that the block of python code has successfully written the file, and then automatically iterates the slider to the next value (within a certain limit).
I am open to any suggestions as I am not set on having this method in the final version.
Thank you in advance,
Jelle