hello viasky,,
try this code out
import maya.cmds as mc
import os
def importFromDir(targetDir):
files=os.listdir(targetDir)
for eachFile in files:
if eachFile.split(.)[-1]==ma:
mc.file((targetDir+\
There was not, but there is now.
Added 'getAlias' and 'setAlias' commands to the Attribute class.
- Paul
On Thu, Dec 17, 2009 at 7:27 AM, thirstydevil da...@thirstydevil.co.ukwrote:
I'm was trying to get to the alias-name on my bendnode. Seems the
only way to get to them is through
i'll also be adding an alias flag to listAttr, as you suggest.
-chad
On Dec 17, 2009, at 10:36 AM, Paul Molodowitch wrote:
There was not, but there is now.
Added 'getAlias' and 'setAlias' commands to the Attribute class.
- Paul
On Thu, Dec 17, 2009 at 7:27 AM, thirstydevil
You pymel fellas are the best :)... Seriously!
By the way...
I'm getting on better with the documentation now guys. But quite often I'll
see a method in the doc's written as getAllParents(*args, **kw)
1) I can never remember all the kwargs
2) I'm not always sure what kwargs are allowed. Are
Hi all:
I'm writing .py code to speed up isolateSelect. Almost everything is
working. BUT, when I invert the selected faces and then toggle
isolate select w/Python, Maya hide the newly selected faces.
I can toggle the hiding of selected faces w/this:
def pixl_isolateSelected():
curPanel
Directories to recursively traverse (passing -l stops the recursive
behavior) for sources are listed on the command line. If no arguments
are given, the invocation is equivalent to -l sys.path
so:
mayapy -OO -m compileall E:\\
On Thu, Dec 17, 2009 at 4:33 AM, abstracted_dwaik