I`m trying to use arrayDataBuilder in the command, but it seems I
can`t do that without dataBlock. And as documentation says "The data
block is only valid during the compute method of the depend node", it
looks like you can`t generate array attributes using command itself,
even the node specified...
I have made a trigger system (using int value on the node that command
changes) to make array in "deform time" of node and this works, but
there`s no clean way described for this. skin algorithm example
(Writing Creature Deformers DVD) and weighstNode.cpp both don`t show
how you technique how user can add his new array. Say, if you`re
making a blendShape with multiple targets.
Anyone knows more elegant way?
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to