Jump to content

Set Component Location

Mani Varma

Recommended Posts

Hi, I'm looking for a way to set location in JavaScript API when creating new component using session.createComponent(), it's using ftrack.server by default.

While writing code using Python API, the method allowed using auto to use the location set on priority. Is there a way to set location like that during createComponent()?

asset_version.create_component(component, data={"name": filename}, location="auto")


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...