Selected FCurves: Application.FCurveSelection
-------------------------------------------- Eric Thivierge http://www.ethivierge.com On Sat, Oct 27, 2012 at 1:43 AM, Peter Agg <peter....@googlemail.com> wrote: > You can get to it as a view by digging around a bit: > > > all_views = list(Application.Desktop.ActiveLayout.Views) > all_views.extend( list(Application.Desktop.ActiveLayout.Views("vm").Views) > ) > > for view in all_views: > if not view.type == "Animation Editor": > continue > fEditor = view.Views("Editor") > print fEditor.Name, fEditor.type > > > > The big issue I came across, and the one which stumped me, is working out > which editor the user is actually using. It's all well and good getting > them all but as it's possible to have multiple views all visible all with > selected curve I'm honestly not sure how you can tell which one is in > 'focus'. > > > Pete > > > > > On 26 October 2012 15:26, Szabolcs Matefy <szabol...@crytek.com> wrote: > >> Hey folks,**** >> >> ** ** >> >> Does anybody have idea how to access the fcurve editor from scripting? I >> would like to modify the selected keys on selected fcurves, but for some >> reason it seems to be that the accessing of the editor itself is not >> documented…**** >> >> ** ** >> >> Anybody has any idea?**** >> >> ** ** >> >> ** ** >> >> Thanks**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> Szabolcs**** >> ___ >> This message contains confidential information and is intended only for >> the individual named. If you are not the named addressee you should not >> disseminate, distribute or copy this e-mail. Please notify the sender >> immediately by e-mail if you have received this e-mail by mistake and >> delete this e-mail from your system. E-mail transmission cannot be >> guaranteed to be secure or error-free as information could be intercepted, >> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. >> The sender therefore does not accept liability for any errors or omissions >> in the contents of this message, which arise as a result of e-mail >> transmission. If verification is required please request a hard-copy >> version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322 >> Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.: >> DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli >> > >