Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Plugin shape attrs disappear from AE when Hypershape is visible.

Plugin shape attrs disappear from AE when Hypershape is visible.

Anonymous
Not applicable
363 Views
0 Replies
Message 1 of 1

Plugin shape attrs disappear from AE when Hypershape is visible.

Anonymous
Not applicable

I have a plugin shape with a single attribute. When I select the shape the attribute displays in the Attribute Editor as expected.

 

If I now bring up the Hypershade window with one of its panels displaying the Property Editor, my node and its attribute will appear in the in the Hypershade's Property Editor, but the attribute will disappear from the Attribute Editor.

 

My AE template looks like this:

 

global proc myAttrNew(string $plug)
{
    setUITemplate -pst attributeEditorTemplate;
    attrFieldSliderGrp -at $plug -l "My Attr" "AEmyNode_myAttr";
    setUITemplate -ppt;

    myAttrReplace($plug);
}

global proc myAttrReplace(string $plug)
{
    attrFieldSliderGrp -e -at $plug "AEmyNode_myAttr";
}

global proc AEmyNodeTemplate( string $nodeName )
{
    editorTemplate -callCustom "myAttrNew" "myAttrReplace" "myAttr";
}

Removing the setUITemplate commands has no effect.

I don't have an AEmyNodeRelated.mel script.

 

This applies to any UI that I create in my AE template, including -beginLayout and -endLayout blocks: they appear in the Property Editor but not in the Attribute Editor.

 

When I try the same thing with a built-in shape like a mesh, it displays fine in both editors at the same time.

 

Anyone have an idea as to what might be going on and how to fix it?

 

Thanks.

0 Likes
364 Views
0 Replies
Replies (0)