Home Coding, Scripting, Shaders
Automatic "Save Draft" has been disabled temporarily. This means comments are not being auto-saved as you type.

Drafts can be manually saved whenever the "Save Draft" button is clicked.

We're chasing down a bug, and we'll let you know when autosave is re-enabled. Thanks!

PyMel[Maya] accesing hue in color

polycounter lvl 4
Offline / Send Message
dlz polycounter lvl 4
I'm developing a tool regarding shaders in Maya and I'm learning pymel to do it (until now i rely in maya.cmds and mel).
I like pymel a lot but i'm having trouble to understand the hierarchy of nodes like color. i know that you can set a color in a shader like this:

selObj = pm.ls(sl=1)

blinnDark = pm.shadingNode('blinn', asShader=True)

blinnDark.color.set([0.3, 0.3, 0.3])


pm.hyperShade( assign=blinnDark )

How can I access to attributes like hue, saturation, value and edit and set them?


Sign In or Register to comment.