How refresh updated imported scripts

Hi, in the new ScriptEditor in Rhino 8 how do I make it use the last saved imported version of another script?

Here is the main python script:

And here is the updated test tool:

When I run the Test import tool.py I get the last value for the print command in TestTools:

“TOOL_A working”

TestTool is saved of course, so I just need to reimport it, or refresh the import.

Or isn’t this how to do this? I have never tried to import another python script before.

You’ll want to do in the ScriptEditor menu Tools > Reload Python 3 (CPython) Engine

1 Like

Ah, nice I thought that was for refreshing the entire Python 3 installed engine, not just the loaded one.

Didn’t think to hoover over to see if it was a tooltip :slight_smile:

:clinking_beer_mugs:

1 Like