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

Jacques Lucke mail at jlucke.com
Tue Apr 14 13:49:24 CEST 2015


 

Hi Joshua, 

thanks for the quick reply. Then I will have to leave this functionality
off for now and wait until you did your work. :) 

Thanks,

Jacques 

Am 2015-04-14 13:41, schrieb Joshua Leung: 

> 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/ [2]
> 
> Cheers,
> Joshua
> 
> On Tue, Apr 14, 2015 at 11:26 PM, Jacques Lucke <mail at jlucke.com> 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 Bf-committers at blender.org http://lists.blender.org/mailman/listinfo/bf-committers [1]
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers [1]

 

Links:
------
[1] http://lists.blender.org/mailman/listinfo/bf-committers
[2]
http://code.blender.org/2015/03/animation-system-roadmap-2015-edition/


More information about the Bf-committers mailing list