Hi,

If ever it can help you.
https://github.com/RDelet/Maya_Tools/blob/master/Divers_Tools/plugin_manager.py

I got orders to load my scripts at boot, has put in the userSetup.py
It also allows the reloader scipts without closing Mayan and without using 
the reload.

As the saying everyone if no mistake in the path there should not be any 
problem in your script loads.
Do not forget the __init__.py file in your Scripts folder. If in your 
script file if you do not have Python file will fail to load the scripts

This is not the script clean but it works


for reload
--------------------------------------------------

from Maya_Tools.divers_tools.plugin_manager import Plugin_Manager


Maya_Tools = r'I:\work'


Plugin_Manager.window_close_all_pyside() #

Plugin_Manager.modules_delete(['Maya_Tools'], ['plugin_manager', 
'AssetImporter'])

Plugin_Manager.modules_load([Maya_Tools, ])

--------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/248b0b47-8718-4db3-a5ae-bcc9aa746819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to