API - building a multi attribute with unique names from selection?

API - building a multi attribute with unique names from selection?

Anonymous
Not applicable
360 Views
1 Reply
Message 1 of 2

API - building a multi attribute with unique names from selection?

Anonymous
Not applicable
I'm looking to build a multi attribute similar to the weight in the maya blendShape node. Just creating an array attribute worked as far as getting weights etc.. but everything is simply added as an index number. I was wondering if there was a way to rename them? Or maybe I'm going about this wrong and it's possible to pass a selection list to the node initializer? I haven't been able to find any examples of this in the c++ or python or online anywhere, any help would be great!

Thanks.
0 Likes
361 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
n/m aliasAttr did the trick, no more half asleep programming 🙂
0 Likes