Working with components
- Python
- JavaScript
Components can be created manually or using the provide helper methods on a session <ftrack_api.session.Session.create_component>
or existing asset version <ftrack_api.entity.asset_version.AssetVersion.create_component>
:
component = version.create_component('/path/to/file_or_sequence.jpg')
session.commit()
When a component is created using the helpers it is automatically added to a location.
Coming soon
tip
See also the Python Locations tutorial