03-14-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?