Allow Custom Deformer Node and Handle Node attributes to be changed from both sides

Allow Custom Deformer Node and Handle Node attributes to be changed from both sides

markinc-sameobake
Explorer Explorer
348 Views
1 Reply
Message 1 of 2

Allow Custom Deformer Node and Handle Node attributes to be changed from both sides

markinc-sameobake
Explorer
Explorer

I am creating my own custom deformer in C++. I would like to synchronize the handle node for controlling the deformer with the attributes of the deformer node, so that they can be changed from either node. The attached image is the Maya default non linear deformer. These nodes have a loop of attributes, but I don't know how to create an array attribute like the Deformer Data attribute (Type: Double Array).
It seems to be different from setArray() of MFnNumericAttribute.
If anyone knows the method, I would appreciate it if you could let me know.

 

0 Likes
349 Views
1 Reply
Reply (1)
Message 2 of 2

jmreinhart
Advisor
Advisor

 

 

Hopefully his graphic clears things up.

jmreinhart_2-1681319757989.png