Reset WrapX from Python

Hi,

When developing a python script I usually load data to align meshes etc.
For debugging it would be very useful to have a possibility to reset WrapX to its original state that it has after start in order to fix issues with the script.
Currently I do this by closing WrapX, reopening it an reloading the script and data.
Can this also be done from the python console in WrapX?

Thanks,
Bernhard

Hello Bernhard,

There is a function under menu bar Run > Restart scene which resets all the Python environment so that you can run a script from scratch each time.
Each time when you press F5 it resets environment as well.
It only works within the same environment when you press Shift + F5 or Ctrl + Enter with a piece of code selected.

I’m pretty sure that you already know that. I feel like I misunderstood the question.

Hi Andrew,
Thanks a lot this saves me much time! I didn’t know this functionality was there already.
Bernhard