I am currently working on a hull optimization for my MSc thesis and I am using Grasshopper to make the parametric changes to the hull. I have a Genetic Algorithm that is responsible for assigning the hull parameters and a panel code that I am using to evaluate the fitness of the hull.
I am currently able to solve my grasshopper script with new assigned variables and my panel code program from a Python script in Rhino but the genetic algorithms are all written C++. I would like to make a call for this python script to be solved from the C++ code , any easy approach to this? I saw it can be easily done with a VB script on this thread (Launching Rhino 5 with a batch file and running python scripts).
Ideally I would have written everything on C++ but I couldn’t find a way to assign new variables to a Grasshopper slider and call for the script to be solved as I have in Python. Any guidance on this is also welcome.