SHARE
TWEET

Flame - create reel

claussteinmassl Feb 20th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import flame
  2. # get the current desk
  3. desk = flame.project.current_project.current_workspace.desktop
  4. # get all reelgroups of the current desk
  5. reelgroups = desk.reel_groups
  6. # grab the first reelgroup
  7. reelgroup = reelgroups[0]
  8.  
  9. # create a new reel
  10. reelgroup.create_reel("name of the new reel")
  11. # create a new sequence reel
  12. reelgroup.create_reel("name of the new sequence reel", sequence=True)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top