Skip to content

Instantly share code, notes, and snippets.

@tokejepsen
Last active January 25, 2017 10:24
Show Gist options
  • Save tokejepsen/a7c4ff1d33544812e60aaa5deb600e98 to your computer and use it in GitHub Desktop.
Save tokejepsen/a7c4ff1d33544812e60aaa5deb600e98 to your computer and use it in GitHub Desktop.
Hiero: Import Ftrack
import hiero
import ftrack
shots_data = []
for seq in hiero.ui.activeSequence().project().sequences():
for vid in seq.videoTracks():
for item in vid.items():
for tag in item.tags():
data = tag.metadata().dict()
if "tag.family" in data and data["tag.family"] == "task" and "tag.id" in data:
print tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment