Jump to content

set shot status


bryand

Recommended Posts

Posted

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 ftrack

shot = 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
 

Thanks

Bryan

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...