Ok. I have no idea why your usersetup wont run.. do you have a usersetup.mel in the same folder or in the folder your supposedly changed to? In that case remove the mel file. Otherwise you can try creating a userSetup.mel and just print test in there, just to see if maya only fails to load python.
Joakim - This is excellent :) I have two questions. I put the userSetup code into my userSetup.mel file, correctly me if I'm wrong, shouldn't this load the script menu automatically when Maya starts, or must I always run this command first ? def MyScript(): #Code MyScript() When I run the command listed above, the script…
The userSetup file is read from the /Preferences/2015-x64/scripts folder, but not from my custom scripts folder set in my environment variable that is what I don't understand, I have another python script in my custom scripts folder that works flawlessly, but when I place the userSetup.py file in my custom scripts folder,…
Oh sorry! All this is Python! Save the user setup stuff in your userSetup.py - if you dont have one create on. I dont write mel so im not sure what would happen if you run mel scripts through the menu but it might be alright seeing its only calling a file's main function. In the menu script you can decide to have whatever…