[python] dynamically populate Digital Asset with parameters from a Take?

   759   0   0
User Avatar
Member
900 posts
Joined: 2月 2016
Offline
I'm trying to build a HDA “A” that, once fed with any Sop Object “B”, is able to interact with the Takes.

Inside my HDA there's a Python Node named “listen_to_Take” that reads the current Take and build a list of the parameters being changed in the node tree of the Sop Object B.
At any parameter change, the Take is updated with a new parm or a new values (as expected), and so does the list created by the Python Node reading the Take. So far so good.

Now the problem:
when I'm done with the changes in Object B, I want then to press a Button Parm on my HDA to retrieve the parameters from the list in the python node and recreate them in my HDA. These new parms in the HDA are then copy-referenced to the original parms in Sop Object B.

I guess I need to create a multiparms folder in my main HDA and then update it somehow with python.
I don't really understand how to do this.


Big help needed here,
thanks!
Edited by Andr - 2018年11月12日 11:12:19
  • Quick Links