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?