So far I've managed to get it to load without any issues but using a simple test of making a sphere, it informs me that it could not dynamically load the PolySlice.dll. I'm finding very little help on this subject in general, so hopefully someone can help me out.
Here's my test script:
import os, sys
mayaLoc = "c:/Program Files (x86)/Autodesk/Maya2009"
mayaPy = "/Python/lib/site-packages"
os.environ["MAYA_LOCATION"] = mayaLoc
os.environ["PYTHONPATH"] = mayaLoc + mayaPy
sys.path.append(mayaLoc + mayaPy)
os.environ["MAYA_NO_BUNDLE_RESOURCES"] = "notzero"
import maya.cmds as mc
Traceback (most recent call last):
File "<pyshell#73>", line 1, in <module>
File "C:\Program Files (x86)\Autodesk\Maya2009\Python\lib\site-packages\maya\app\commands.py", line 16, in dummyFunc
maya.cmds.dynamicLoad( library )
RuntimeError: Unable to dynamically load : PolySlice.dll
The specified procedure could not be found.
Dynamic load failed : PolySlice.dll