Last active
January 25, 2017 10:24
-
-
Save tokejepsen/a7c4ff1d33544812e60aaa5deb600e98 to your computer and use it in GitHub Desktop.
Hiero: Import Ftrack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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