Custom node in "create render node"

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 01 January 2011   #1
Custom node in "create render node"

I'm about to create a node for doing some math.
I want my node to be available for people in the "create render node" that you can find in the hypergraph, how do I do this?

I'm sure this is a question being asked pretty often but my attempt to find an answer via search didn't result in much..
 
Old 01 January 2011   #3
Thanks, found it in the examples:
these are inside the MStatus initializePlugin( MObject obj ) function

//string with the name of the group you wish
//your node to be part of.
const MString UserClassify("utility/general");

//bold parts are added from mayaPluginWizardCode
status = plugin.registerNode( "NameOfNode", NodeClass::id, NodeClass::creator,
                                         NodeClass::initialize,MPxNode::kDependNode, &UserClassify );
 
Old 01 January 2011   #4
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:58 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.