bryand Posted July 17, 2014 Report Posted July 17, 2014 Hi, Am I doing this wrong. I want to set a shot's status to "pending review". I get the correct shot and all other info but this keeps erroring out. import ftrackshot = ftrack.getShot(shotpath.split("/"))statuses = ftrack.getShotStatuses()for s in statuses: if s.getName() == "Pending Review": shot.setStatus(s) break FTrackCore.api.ftrackerror.FTrackError: The status is not valid for this object ThanksBryan
Mattias Seebergs Posted July 17, 2014 Report Posted July 17, 2014 Hi Bryan, From the error message it looks like the Pending Review status type is not added to the workflow schema. Make sure it is added and get back to me here if you still have problems. Mattias
bryand Posted July 17, 2014 Author Report Posted July 17, 2014 Yip that was the problem the project was setup on a different schema. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.