top of page

Maya Multi Attribute Control

Control Multiple instances of an attribute across multiple nodes.

So...

Here is another tool that I wrote with python for Maya and I should say that I have put a good deal of planning into it.

I started writing it when one of my colleges showed me a tool he had in 3DS MAX. and he asked me if there is already such a thing in Maya that he could use.

Well, There was none..

I should say, this tool can be very helpful if you have a huge scene with hundreds of thousands of nodes that you wanna control here and there in all kind of ways.

With this tool, you can conveniently and interactively:

1. Create a list of nodes to work with:

With this list, you can have a set of selection that is specific to the tool, meaning that if you select something in this list the selection in your scene will not be changed and vice-versa.

You can Isolate Nodes by nodeType and Name very easily and work only on the isolated nodes instead, while having your list intact.

Note that you can also bring shapeNodes to your list by selecting the transformNodes. The only thing you need to do is to have the "Shape instead of Transform" button On. This way, if you have some transformNodes in your selection, the shapeNode of any of those transformNodes will be added to the list instead of the transformNode itself.

2. Create a type-conformed list of UI elements to control multiple attributes:

For the attribute list, you can also find attributes by their name or category.

There is an option on the top "List Shared Attributes Only" that if you turn it On, updates the Attribute List with only the attributes that are shared between all the nodes that are currently selected in the Node List.

3. Set Values, Make or Break connections and more to multiple attributes on multiple nodes:

Note that, if you see a Green Cursor on the right side of an Attribute Controller, it means that this attribute is shared between all the nodes that are currently selected from the Node List. If you see a Red Cursor, then it means that there are some nodes in your selection that do not have such attribute. And finally, if you already have an Attribute Controller but none of you currently selected nodes have such Attribute, the Attribute Controller will be disabled and the only thing you can do with it, is to remove it from your palette. As soon as you have even one node in your selection that has that attribute, the Attribute Controller will be enabled automatically.



First Download Multi Attribute Control and unzip the dev_multiAttrControl.zip file.

Inside there is a file called dev_multiAttrControl.pyc that you need to copy it into your Maya's scripts folder. If you wonder where the scripts folder is , you can type this in your explorer on Windows to find to go directly to the folder:

%USERPROFILE%\Documents\Maya\scripts

And just copy the dev_multiAttrControl.pyc file there. Then you need to run this code in a python tab in Maya's Script Editor:

import dev_multiAttrControl

dev_multiAttrControl.run()

And that's it...

Enjoy.. ;)

Featured Posts
Recent Posts
Search By Tags
Follow Us
  • LinkedIn Social Icon
  • Vimeo Social Icon

© 2023 by SMALL BRAND. Proudly created with Wix.com

bottom of page