Hello everyone.

I am fairly new at scripting in maya/python. A few days ago i watched some 
youtube videos about python scripting for maya artists. watched arvids 
video about making a script to convert maya shaders to arnold shaders.

anyway, here is what i am having trouble with

*aiRampHi_mask = pmc.duplicate("aiRamp_Hi", ic = True, ic = True, name = 
"aiRampHi_mask")*
*aiRampHi_mask.outColorR >> aiLayer.mix4*

*the error*




*# Error: 'list' object has no attribute 'outColorR'# Traceback (most 
recent call last):#   File "<maya console>", line 1, in <module># 
AttributeError: 'list' object has no attribute 'outColorR' # *

I can connect the two manually but i cant using the script. what is missing 
here?

Thanks!

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8578ba87-a1ac-49ea-8e08-d214632b0a21n%40googlegroups.com.

Reply via email to