Hide extraControls in AE?

Hide extraControls in AE?

haggi_master
Advocate Advocate
592 Views
2 Replies
Message 1 of 3

Hide extraControls in AE?

haggi_master
Advocate
Advocate

Hi,

 

to avoid confusion I'd like to hide the extra controls segment in the attribute editor for my own nodes. How can I do this if I can do it at all?

0 Likes
593 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

just after creating your attribute do MFnAttribute::setHidden( true )

 

MFnNumericAttribute nAttr;
attrObj = nAttr.create("long_attr_name","short_attr_name", MFnNumericData::kInt)
nAttr.setHidden( true );

 or suppress it in AE template script:

 

editorTemplate -suppress "long_attr_name";

 

 

0 Likes
Message 3 of 3

haggi_master
Advocate
Advocate

Thanks. I was searching for a way to hide the complete extra attributes layout at once. But in most cases the settings have to be done only once so I suppose I will go the "supress" way.

0 Likes