Advertisement
claussteinmassl

Flame - create reel

Feb 20th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement