Feedback

What's your question?

By: [ Editor ] Asked from United States of America

How to create nested attributes in Maya?

There's satisfaction in figuring things out for oneself. But I've looked everywhere I can think of to find this solution. Here's an example of what I'm after:

node.attr1[0].attr2[33].attr3

Here's an example of Maya's execution:

tweak1.plist[0].controlPoint[33].xValue

If I get the attribute type of "plist", I get "TdataCompound". I've tried creating "attr1" as a compound type and I was able to parent multi-attribute children to it. But how do I create "attr1" as a multi-attribute?

I hope that makes sense.

Add comment viewed 380 times Latest activity 7 months ago

or Cancel

1 answer

  • 0

manny [ Editor ]

Sorry, I was just frustrated and low on sugar when I posted this question. I gave it one more try and was able to get what I wanted. I just needed to create "attr1" as a compound and a multi attribute. DUH!!!

I'm going to eat now.

or Cancel