Patrick McDonald Posted January 2, 2019 Report Posted January 2, 2019 Hi there and Merry New Year! Is there a utility method for returning a ftrack object from a path without going via session.query()? I saw the old api has a getShotFromPath method, but that doesn't seem to be working for me.... either due to our local setup, or some other reason beyond my understanding. Thanks p.
Mattias Lagergren Posted January 8, 2019 Report Posted January 8, 2019 Hi Patrick, There is no convenience method for this in the new api but you should be able achieve the same by a naive: session.query('TypedContext where name is foo and parent.name is bar and parent.parent.name is baz')
Martin Pengelly-Phillips Posted January 23, 2019 Report Posted January 23, 2019 We wrote a convenience method for this in our extension of the ftrack API. Might be something we can contribute via pull request.
JPrydz Posted January 28, 2019 Report Posted January 28, 2019 Hi, Yes, that would be great, Thanks. /Johan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.