episode.createSequence() ?
0

5 posts in this topic

This is very important when considering auto Episode/Sq/Sh generation!

 

episode.createSequence() function doesn't exist while episode.createShot() does.

This small inconsistency is probably quickly fixed.You cant create Sequences in Episodes out of the box (with the API)
 

Can't do this with the reparenting workaround either
 

project = ftrack.getProject(projectName)

ep = project.getEpisodes()[0] # a valid episode

epId = ep.getId()

sqParent = project.createSequence(sqName)
sqParent.set('parent_id',epId)

 

# Error:

# Traceback (most recent call last):

...

# ProtocolError: <ProtocolError for creative.ftrackapp.com//client/: 500 Internal Server Error> #

 

 

Kinda stuck here...

Share this post


Link to post
Share on other sites

Thanks for the report, the createSequence method was not inherited by episodes. It is now moved and tests have been added to make sure it does not happen again.

 

This will be in the next minor update (most likely next week). Let me know if you need it sooner.

 

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0