It’s been a while since I’ve done mixer stuff in code, but if memory serves you 
want to take a look at: Clip.MappedItems in the SDK docs.

If you want to get the driving source from the parameter object, you may need 
to use Parameter.Sources instead of Parameter.Source.  The former being an 
array (collection) of sources driving the parameter on the current frame.  
Mostly applies in situations when animation layers are in use.

Expect to resolve multiple layers of indirection to find what you’re looking 
for.


Matt




From: [email protected] 
[mailto:[email protected]] On Behalf Of François Painchaud
Sent: Wednesday, July 16, 2014 10:16 AM
To: [email protected]
Subject: Scripting - How to retrieve a parameter fcurve stored in a mixer clip?

Calling all scripting experts...
From a parameter object (a shape weight for example), how can I retrieve the 
fcurve animating this parameter, knowing that this fcurve is stored in a mixer 
clip? Where do I go from Parameter.Source?
It must be fairly simple, but the answer eludes me. I am using Python.

Thanks,
François

Reply via email to