PDA

View Full Version : python: creating multiply divide shading node


MegaManZZ
05-24-2009, 02:22 PM
having a hard time with this one. I'm trying to create a multiply divide shading node. In mel it would appear like this.
shadingNode -asUtility multiplyDivide -n ("Node");

for some reason i dont know where to puyt the multiplyDivide flag.
cmds.shadingNode( type, asUtility=True, name='spineStretchNode' ) ??multiplyDivide??

siproductions
05-24-2009, 04:05 PM
I believe you give it as the first parameter in python.

like so:


cmds.shadingNode('multiplyDivide', asUtility=True, name='multiplyDivideTest')

MegaManZZ
05-24-2009, 07:51 PM
that worked!.. thank you!

CGTalk Moderation
05-24-2009, 07:51 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.