Jump to content

Component/Version/Asset from path


Patrick McDonald

Recommended Posts

Posted

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.

 

Posted

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')

 

  • 2 weeks later...

Archived

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

×
×
  • Create New...