I’m trying to learn how to use pymel and I really don’t know where to start. I have downloaded it but don’t really know where to go from there. I tried unzipping all the files but still get nothing. So I was wondering if anyone could help me get started.
Unzip it somewhere into the PythonPath. This is often done by just dropping a package into the “site-packages” folder in a python install directory. In Maya’s case this is Maya_directory/python/lib/site-packages/. Or you can put whatever path you want in Maya.env, or in a .Pth file, or in the global environment. Just in some way make sure the pymel folder is in scope.
Then, in Maya, type, “import pymel” in a python prompt. If it doesn’t scream at you, you have suceeded. I believe the canonical way to use pymel is “from pymel import *” because it leaves you with cleaner code. Import * always gives me the heeby-jeebys though.
Good Luck!
-Lith
problem soved. plz delet my post:)