[Bf-committers] Python access to visible fcurves in the graph editor

Jacques Lucke mail at jlucke.com
Tue Apr 14 13:26:45 CEST 2015


 

Hi, 

maybe I'm wrong but I can't find a nice solution to get a list of all
fcurves WITH their root objects which are visible in the graph editor. 

I want to write a operator that operates on all 'selected' fcurves. The
problem is that I cannot simply iterate through all fcurves (this is no
problem) and check their .select attribute, because invisible fcurves
can also be selected. All the filters make it really hard to write a
nice custom function that finds the visible fcurves. 

Also having access to the active fcurve which is shown in the "Active
F-Curve" panel would be very useful. 

Is it possible to expose these information to python? 

Thanks in advance,
Jacques Lucke 
 


More information about the Bf-committers mailing list