Remus Avram Posted March 20, 2017 Report Posted March 20, 2017 Hi Ftrack Team, what exactly is the difference between uses_versions/used_in_version and incoming_links/outgoing_links attributes of Ftrack AssetVersion.
Remus Avram Posted March 20, 2017 Author Report Posted March 20, 2017 incoming_links/outgoing_links are AssetVersionLink object type and uses_versions/used_in_version returns Collection of AssetVersion object type. The thing that creates confusion is that when a new link between versions is created, incoming_links/outgoing_links attributes still return None. In order to get the incoming_links/outgoing_links we need to query again the session for the AssetVersion.
Remus Avram Posted March 20, 2017 Author Report Posted March 20, 2017 I found the documentation which explains the difference between them: http://ftrack-python-api.rtd.ftrack.com/en/stable/example/entity_links.html I was looking at the latest documentation which is a bit different http://ftrack-python-api.rtd.ftrack.com/en/latest/example/asset_version_dependency.html
Mattias Lagergren Posted March 21, 2017 Report Posted March 21, 2017 21 hours ago, Remus Avram said: The thing that creates confusion is that when a new link between versions is created, incoming_links/outgoing_links attributes still return None. In order to get the incoming_links/outgoing_links we need to query again the session for the AssetVersion. Yes, I agree this is confusing as we do not expire or update those relationships.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.