Hide various attributes in the Extra Attributes section of the Attribute Editor??

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2013
Hide various attributes in the Extra Attributes section of the Attribute Editor??


Is there a way to hide certain attributes from the attribute editor?

Currently I'm using some custom shaders and all the attributes for the shader appear under the Extra Attributes tab of the Attribute Editor. These are generally editable RGB values that I need to animate. The only problem is that the shader also brings in a load of attributes that I don't need to animate, cluttering up the place and generally making things more difficult. I can hide these attributes from the channel box making things a lot easier to read but with them being RGB values its loads easier to pick a colour using the colour swatches from the attribute editor. but of course then I'm trawling through a long list of useless attributes to find the ones i need.

any help would be greatly appreciated.

When I was alive, I may have been a little...Naughty!......

  02 February 2013
you'd need to hack out those parameters in the .MEL files but I wouldn't recommend doing that since it will probably cause instability if Maya expects something to be there and it isn't.
  02 February 2013
I remember seeing some functionality like this featured in 2013. The idea of creating customized Attribute editor layouts. Did a quick search and found this vid...seemed to be something useful.
  02 February 2013
While I don't think the result is worth the effort, you could dig in to editorTemplates and manually define the extraAttributes to be hidden. This enables you to define a template for the Attribute Editor to use when a specific nodeType is being displayed.

Note that I don't believe this method to be easily transferrable (in case you wanted to share your code with other users that don't have the template file)
  02 February 2013
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:28 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.