Restart Fusion's Python Environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
During development of a reasonably complex script using multiple Python files, I am finding that when I make changes to method and object signatures I have to restart Fusion for it to pickup the changes. My project source is organised into folders under the script directory. Simple code changes within existing methods are picked up as you would expect.
I assume this behaviour is the consequence of some caching in the Python environment which is run by Fusion, whose lifetime spans script executions. Is there a way to force a restart/reload of Fusion's Python environment so that refactoring changes can be picked up without having to restart the entire Fusion application?
Thank you.