EyeonTips:Script/Reference/Applications/Fusion/Classes/Composition

From VFXPedia

< EyeonTips:Script
Revision as of 15:03, 31 December 2013 by Tilt (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • The member variable CurrentTime is also available and corresponds to the COMPN_CurrentTime attribute. Don't confuse it with CurrentFrame though since that deals with the GUI where "frames" are the sections of the interface (flow, viewers, tool panel).
  • The Composition object's methods and members are directly available in the console and in comp scripts written in LUA. This means that you can simply type ==CurrentTime or call AddTool("Blur") without the need to prefix the command with comp. Python scripts have to use the full name.
  • Two yet undocumented methods have been added to the Composition class in recent releases. To quote eyeon tech support:
    GetNextKeyTime([number Time [, object Tool]]) and GetPrevKeyTime([number Time [, object Tool]]). Return the next/previous keyframe time from 'Time', on the tool specified by 'Tool'. If no Tool is specified, then the keyframe time on ANY tool will be returned. If time is unspecified, or TIME_UNDEFINED is used, then the first or last keyframe time will be returned.