Hi, This is on my list of planned things to do, but it will not be something done in the near-short term (see [1]). My current plans on this are to look into it around October, though if I postpone a bunch of other work I'd like to do, June might also be possible.
As you should have guessed, there is in a fact a system in place under the hood that all the C code (tools, drawing, etc. all use this same system, and across all animation editors) uses for this sort of thing. What is a bit less clear is how to expose this via a Python API which allows it to play nice with the underlying system. [1] http://code.blender.org/2015/03/animation-system-roadmap-2015-edition/ Cheers, Joshua On Tue, Apr 14, 2015 at 11:26 PM, Jacques Lucke <[email protected]> wrote: > > > 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 > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
