mitch.s Posted September 26, 2013 Report Share Posted September 26, 2013 When creating sequences/shots/... through the api the default priority is 'Urgent'.This is rather annoying. It would be nice if priority is set to 'None' by default. Trying to work around this I had problems querying the List of Priorities.Is there something similar like getShotStatuses, getTaskStatuses for Priorities? project = ftrack.getProject(projectName) sq = project.createSequence(Sq' + "%03d" % 20) #Sq020 sh.setPriority( ??? ) sh = sq.createShot('Sh' + "%03d" % 10) #Sh010 sh.setPriority( ??? ) Link to comment Share on other sites More sharing options...
Björn Rydahl Posted September 27, 2013 Report Share Posted September 27, 2013 Hey, several things here. The wrong priority is picked as default on everything except tasks. Fixed and will be in next minor.Being able to query all priorities from api. Added to next minor release 2.0v2 You can update priority like this in the current version: shot.setPriority(ftrack.Priority('None')) if there is one called None. Thanks for letting us know. This should behave better in next version. Cheers Link to comment Share on other sites More sharing options...
mitch.s Posted September 27, 2013 Author Report Share Posted September 27, 2013 The call 'ftrack.Priority('None')' works perfectly for me. Thx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.