Hello!
I am using the _-ScriptEditor Run .\testrh.py
to execute a file as a command but it’s not printing anymore the print()
functions.
This has stopped working in the latest versions before it was working:
Rhino 8 SR11 2024-9-10 (Rhino 8, 8.11.24254.15001, Git hash:master @ d3c11108eae09fadc146928ba51b9b182a05303f)
License type: Educational Lab License, build 2024-09-10
Rhino 8 SR10 2024-8-15 (Rhino 8, 8.10.24228.13001, Git hash:master @ f4c93f2b85de4dc69b50ed22f1b0d91445724d03)
License type: Educational Lab License, build 2024-08-15
Rhino 8 SR5 2024-3-12 (Rhino 8, 8.5.24072.13001, Git hash:master @ e3530849b75f00b2b977766a567ae29b055837e9)
License type: Educational Lab License, build 2024-03-12
And here’s the simple file I am running:
#! python3
import Rhino
fstringval: str = "STRFVAL"
Rhino.RhinoApp.WriteLine(f"hello {fstringval} rhinoApp.WriteLine.py") # <-- currently working
print(f"hello from print() {fstringval} print()") # <-- not working
Anyone has an idea? Many thanks!