PDA

View Full Version : How to create Utilites Node with script?


zhenpanda
07-21-2009, 12:11 AM
How can I create Utilites node with scipt
such as blend color node, and name it at the same time?

I tried
shadingNode -asUtility blendColors;

but can't find anyways to name it...

scottiedoo
07-21-2009, 01:28 AM
Look at the createNode command

MEL:
string $myNode = `createNode blendColors -n "MyName"`;
print $myNode

Cheers,
Scott

Sagroth
07-21-2009, 11:38 AM
shadingNode -n myName -asUtility blendColors;

CGTalk Moderation
07-21-2009, 11:38 AM
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.