Hi, I'l trying to create render layers and then select objects in them
to connect different shaders. The problem is that in the same scipt I
can't select the render layers because the render layer window is not
refreshed.
def f1():
mc.select('head_HR',r=1)
sel = mc.ls(sl=1)
for l in r
Is it possible? I can't get Maya to use my AETemplate.py... only .mel.
Thanks
--~--~-~--~~~---~--~~
http://groups.google.com/group/python_inside_maya
-~--~~~~--~~--~--~---
i've bugged autodesk about this before. file a bug report so that they get
the message loud and clear.
--~--~-~--~~~---~--~~
http://groups.google.com/group/python_inside_maya
-~--~~~~--~~--~--~---
I don't think it's possible in 2009.
On Fri, Mar 20, 2009 at 2:54 PM, q2on wrote:
>
> Is it possible? I can't get Maya to use my AETemplate.py... only .mel.
> Thanks
>
>
>
> >
>
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
--~--~-~--~~---
its possible with some hacking...
in python, you can register a mel proc for the AETemplate (yes, an
AETemplate can be sourced dinamically, it doesn't necessarely need to have a
AETemplate.mel file)...
I'm doing it in my slum project... check it out the __init__ code for my
AETemplate python clas
Just made a bug report to autodesk, but since that's not viewable to
the general public, posting here too:
Dynamic attributes created with addAttr that have the storable flag
set to false are still written out to the file - see:
http://pastebin.com/f3b83af36
import maya.cmds as cmds
# Create a