Hi Marcus getEnv and putEnv is Mel command, you can also use Pymel.Util.setEnv and getEnv, which had same effect as your method.
However, Maya only find preset from /maya/2013-x64/presets/ folder, if i move my preset to another folder, Maya can't find it, even when i had set the Env Path. -- 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/CAMCvD%2BGm%2BYLN%2Bt1oGfe4nyb4WTB4DROXd%3DMKYwqLwTKtmtvs5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
