Hey,
Thank you for your reply! The writing to the command line works now.
Your second solution seems to be even better. But I have a problem with implementing it. I could implement the first part and the build succeeded but if I try to use this function on my plugin, it fails to build just after adding #include “PythonBridge.h”. Is it important where the code/script is placed? I just created it by right-clicking and then choosing New C++ Class. Can you explain how to create a base-class?
Is it also possible with your second approach to feed variables to python as you can do to regular c++ functions?
Best regards