Hi,
We are in the midst of adjusting shotgun's default folder schema in a sandbox config. Our problem is that our current pipeline places assets linked to shots under the {Shot} folder, i.e.
Project -assets -sequence --shot ---steps ---assets
The trouble is, how do I make a yml file that will locate all the related assets and localize said files?
my current yml files looks like this:
# Copyright (c) 2013 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
# the type of dynamic content
type: "shotgun_list_field"
# the shotgun entity type to connect to
entity_type: "Asset"
# switch this to true if you only want to make folders for
# values that are being used. Note that evaluating this is
# expensive and may potentially slow down folder creation.
skip_unused: false
# the shotgun field to use for the folder name
field_name: "sg_asset_type"
filters: [ { "path": "shots", "relation": "in", "values": [ "$Shot" ] } ]
I took and copied the structure currently used the default assets schema. Is there a place where filters are explained in more detail? Is the filter reference for api the same as the toolkit filters? How do I know which folders/entities are dynamic(i.e. $Shot).
Thanks.