Group custom attributes to nodes in Maya
<p>I am writing a Maya plugin in c++, and have a custom MPxLocatorNode.<BR>I have added numerous custom attributes to this node with:</p>

<pre><code>   MFnNumericAttribute nAttr;

    Attrib1 = nAttr.create( "Attribute1", "att1", MFnNumericData::kInt,1.0 );
    nAttr.setKeyable(false);
    nAttr.setStorable(true);
    nAttr.setReadable(true);
    nAttr.setWritable(true);
    nAttr.setHidden(false);
    addAttribute( unitId );

    Attrib2 = nAttr.create( "Attribute2", "att2", MFnNumericData::kInt,1.0 );
    nAttr.setKeyable(false);
 ...
</code></pre>

<p>However I need to add plenty of these attributes and would therefore like to group them when displayed in the attribute editor. Is there a way to dynamically create groups or separators ?</p>