Since you were the one fixing with how RhinoScript / RunScript works and make sure it works inside Rhino commands, I figured I would ask you again since I have ran into similar issue with RunPythonScript. The issue is RhinoScripts work fine when run from button or compiled plugin inside other commands but Python scripts don’t.
Take a sample button like this:
Both work just fine when ran from a button on their own (no other commands running)
However, when, for example I start drawing a Polyline and run the RhinoScript one, all works fine: script prints to command line and then we can continue to draw; Python version fails: command line looks like this:
Unknown command: ( print("Python 1") print("Python 2") print("Python 3") )
Would it be possible to make the RunPythonScript command work as well as the RunScript one, and let us run Python scripts inside other commands (as a fix in Rhino 6 SR…) ?