Remus Avram Posted July 3, 2018 Report Posted July 3, 2018 Hi Ftrack Team, the component name is not unique. We are able to create components on a AssetVersion type with the same name. Code example: import ftrack_api session = ftrack_api.Session() unmanaged_location = session.query('Location where name is "ftrack.unmanaged"').one() version = session.query("AssetVersion").first() version.create_component( "/path/to/a/file.txt", data={'name': "main"}, location=unmanaged_location ) session.commit() version.create_component( "/path/to/a/file.txt", data={'name': "main"}, location=unmanaged_location ) session.commit() Ftrack Version: 3.5.21.4617
Mattias Lagergren Posted July 12, 2018 Report Posted July 12, 2018 This is a known "issue" and not designed. We're considering changing this in the future to limit creation of new components with duplicate names.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.