Hi Kenneth,
I believe you should be able to use a usercustomize.py which will be loaded just after sitecustomize.py.
Also, you can load both a userSetup.mel and a userSetup.py. Mind you, userSetup.py is called later than userSetup.mel and cannot perform all commands that userSetup.mel can perform…
And from python, you can dynamically import other scripts, perhaps based off your machine names… (haven’t tried this myself)
import socket
moduleNames = [ 'sys', 'os', socket.gethostname() ]
modules = map(__import__, moduleNames)
By the way, I’ve never gotten around reading up on how the site/usercustomize.py differs from the userSetup.py/mel – and I can’t find any documentation on sitecustomize.py … what’s the main difference?
// Fredrik
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/16f93c91-de9d-4593-b9df-fa4e8a2e8a5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How would it be possible for me to load the site wide userSetup.py file and still have the individual user's userSetup files be functional?