The correct expression in python to:
shadingNode -asUtility blendColors1;
connectWindowWith |ik_jts1 blendColors1;
connectAttr -f ik_jts1.rotate blendColors1.color1
connectAttr -f fk_jts1.rotate blendColors1.color2;
-----------------------------------------------------------------------------------------------------
is :
cmds.shadingNode("blendColors", asUtility=1)
cmds.connectAttr (f= True, 'ik_jts1.rotate', 'blendColors1.color1')
cmds.connectAttr (f= True, 'fk_jts1.rotate', 'blendColors1.color2')
???
Well, I must be wrong about something .... who can help me ...
--
http://groups.google.com/group/python_inside_maya