View Full Version : Creating Container Node in Maya API C++?

03 March 2011, 01:04 AM
I want to create a container node and add some nodes to it using Maya C++ API. I could not find anything related to containers in Maya document. Closest I got was MFnContainerNode which is a function set to work on container nodes, But how do I create one?

In Python I can do something like

maya.commands.container(name = "myContainer", addNode="some node 0", ihb=True)
maya.commands.container("myContainer", edit=True, addNode="some node 1" )
Is there an equivalent in Maya C++ API? If not, any workarounds?

CGTalk Moderation
03 March 2011, 01:04 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.