forked from shotgunsoftware/tk-multi-loader2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.yml
155 lines (135 loc) · 6.13 KB
/
info.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Copyright (c) 2015 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.
# Metadata defining the behavior and requirements for this app
# expected fields in the configuration file for this app
configuration:
# UI customization
menu_name:
type: str
default_value: "Load"
description: Name to appear on the ShotGrid menu.
title_name:
type: str
default_value: "Loader"
description: Name to appear on the title of the UI Dialog.
# hooks
actions_hook:
type: hook
default_value: "{self}/{engine_name}_actions.py"
description: Hook which contains all methods for action management.
filter_publishes_hook:
type: hook
default_value: "{self}/filter_publishes.py"
description: Specify a hook that, if needed, can filter the raw list of publishes returned
from ShotGrid for the current location.
download_thumbnails:
type: bool
default_value: true
description: Controls whether thumbnails should be downloaded from ShotGrid or not. We
strongly recommend that thumbnails are downloaded since this greatly enhances
the user experience of the loader, however in some situations this may be
difficult due to bandwidth or infrastructural restrictions.
action_mappings:
type: dict
description: Associates published file types with actions. The actions are all defined
inside the actions hook.
default_value: {}
default_value_tk-3dsmax:
3dsmax Scene: [import, reference]
default_value_tk-3dsmaxplus:
3dsmax Scene: [import, reference]
default_value_tk-houdini:
Houdini Scene: [merge]
default_value_tk-nuke:
Rendered Image: [read_node]
Nuke Script: [script_import]
default_value_tk-maya:
Maya Scene: [reference, import]
Rendered Image: [texture_node]
Photoshop Image: [texture_node]
UDIM Image: [udim_texture_node]
default_value_tk-motionbuilder:
Motion Builder FBX: [import]
default_value_tk-photoshop:
Photoshop Image: [add_as_a_layer, open_file]
Rendered Image: [add_as_a_layer, open_file]
default_value_tk-mari:
Alembic Cache: [geometry_import]
default_value_tk-flame:
Flame Batch File: [load_setup]
Flame Quicktime: [load_clip]
Flame Render: [load_clip]
Photoshop Image: [load_clip]
Rendered Image: [load_clip]
Image: [load_clip]
Movie: [load_clip]
Texture: [load_clip]
entity_mappings:
type: dict
description: Associates entity types with actions. The actions are all defined
inside the actions hook.
default_value: {}
default_value_tk-flame:
Shot: [load_batch, create_batch]
entities:
default_value:
- caption: Project
type: Hierarchy
root: "{context.project}"
publish_filters: []
- caption: My Tasks
type: Query
entity_type: Task
publish_filters: []
filters:
- [task_assignees, is, "{context.user}"]
- ["project", "is", "{context.project}"]
hierarchy: [entity, content]
type: list
description: "This setting defines the different tabs that will show up on the left hand side.
Each tab represents a ShotGrid query, grouped by some ShotGrid fields to form a tree.
This setting is a list of dictionaries. Each dictionary in the list defines one tab.
Dictionaries with their *type* key set to 'Hierarchy' should have they following keys:
*caption* specifies the name of the tab, *root* specifies the path to the root
of the project hierarchy to display.
Dictionaries with their *type* key set to 'Query' should have they following keys:
*caption* specifies the name of the tab, *entity_type* specifies the ShotGrid entity
type to display. *filters* is a list of standard API ShotGrid filters.
*hierarchy* is a list of ShotGrid fields, defining the grouping of the tree.
Optionally, you can specify a *publish_filters* key, containing ShotGrid API filters to
apply to the publishes listing as it is being loaded in the main view."
allows_empty: False
values:
type: dict
publish_filters:
type: list
description: "List of additional ShotGrid filters to apply to the publish listings. These
will be applied before any other filtering takes place and would allow you to
for example hide things with a certain status."
values:
type: shotgun_filter
allows_empty: True
default_value: []
# this app works in all engines - it does not contain
# any host application specific commands
supported_engines:
# the Shotgun fields that this app needs in order to operate correctly
requires_shotgun_fields:
# More verbose description of this item
display_name: "Loader"
description: "Locate published files and reference them into your scene."
# Required minimum versions for this item to run
requires_shotgun_version:
requires_core_version: "v0.19.1"
requires_engine_version:
# the frameworks required to run this app
frameworks:
- {"name": "tk-framework-shotgunutils", "version": "v5.x.x", "minimum_version": "v5.2.1"}
- {"name": "tk-framework-qtwidgets", "version": "v2.x.x"}