Community
I created a modules folder and set maya to read while starting up. I then updated the scripts in some of the files and want to see changes in maya. how can i do it? Currently i'm running the whole new script in sript editor. How can i make maya re-read the same file.
Also where can I start learning to write c++ plugins for maya?
thanks in advance.
Hi!
To load a changed python module you need the reload() function.
Python 2.7:
import yourModule
reload(yourModule)
Python 3:
import yourModule
from importlib import reload
reload(yourModule)
No idea about the C++ stuff, sorry
I hope it helps!
Can't find what you're looking for? Ask the community or share your knowledge.