|
| 1 | +# Copyright (c) 2017 Shotgun Software Inc. |
| 2 | +# |
| 3 | +# CONFIDENTIAL AND PROPRIETARY |
| 4 | +# |
| 5 | +# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit |
| 6 | +# Source Code License included in this distribution package. See LICENSE. |
| 7 | +# By accessing, using, copying or modifying this work you indicate your |
| 8 | +# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights |
| 9 | +# not expressly granted therein are reserved by Shotgun Software Inc. |
| 10 | +# |
| 11 | + |
| 12 | +# this include configuration defines the common apps of the 3dsMax Integration when it |
| 13 | +# is running in either its project or shot level configuration |
| 14 | + |
| 15 | +includes: |
| 16 | +- ../common/apps.yml |
| 17 | +- ../common/settings/tk-multi-publish2.yml |
| 18 | + |
| 19 | + |
| 20 | +3dsmax.apps.tk-multi-publish2: |
| 21 | + help_url: "@common.apps.tk-multi-publish2.help_url" |
| 22 | + collector: "{config}/tk-multi-publish2/basic/collector.py:{config}/tk-multi-publish2/3dsmax.basic/collector.py" |
| 23 | + publish_plugins: |
| 24 | + - '@common.settings.tk-multi-publish2.publish_file' |
| 25 | + - '@common.settings.tk-multi-publish2.upload_version' |
| 26 | + - name: Begin file versioning |
| 27 | + hook: "{config}/tk-multi-publish2/3dsmax.basic/start_version_control.py" |
| 28 | + settings: {} |
| 29 | + - name: Publish to Shotgun |
| 30 | + hook: "{config}/tk-multi-publish2/3dsmax.basic/publish_max_session.py" |
| 31 | + settings: {} |
| 32 | + location: "@common.apps.tk-multi-publish2.location" |
| 33 | + |
| 34 | +3dsmax.apps.tk-multi-loader2: |
| 35 | + action_mappings: |
| 36 | + 3dsmax Scene: [import, reference] |
| 37 | + Alembic Cache: [import] |
| 38 | + Image: [texture_node] |
| 39 | + Rendered Image: [texture_node] |
| 40 | + Texture: [texture_node] |
| 41 | + actions_hook: '{self}/tk-3dsmaxplus_actions.py' |
| 42 | + download_thumbnails: true |
| 43 | + entities: |
| 44 | + - caption: Current Project |
| 45 | + type: Hierarchy |
| 46 | + root: "{context.project}" |
| 47 | + publish_filters: [] |
| 48 | + - caption: My Tasks |
| 49 | + type: Query |
| 50 | + entity_type: Task |
| 51 | + filters: |
| 52 | + - [project, is, '{context.project}'] |
| 53 | + - [task_assignees, is, '{context.user}'] |
| 54 | + hierarchy: [entity, content] |
| 55 | + # ignore publishes without a status. with zero config, it is very easy |
| 56 | + # to publish the same path multiple times. the default zero config publish |
| 57 | + # plugins will clear the status of previous publishes of the same path. |
| 58 | + # this filter means only the latest publish will be displayed. |
| 59 | + publish_filters: [["sg_status_list", "is_not", null]] |
| 60 | + location: "@common.apps.tk-multi-loader2.location" |
| 61 | + |
| 62 | +3dsmax.apps.tk-multi-shotgunpanel: |
| 63 | + shotgun_fields_hook: '{self}/shotgun_fields.py' |
| 64 | + actions_hook: '{self}/tk-3dsmaxplus_actions.py' |
| 65 | + action_mappings: |
| 66 | + PublishedFile: |
| 67 | + - actions: [import] |
| 68 | + filters: {published_file_type: Alembic Cache} |
| 69 | + - actions: [texture_node] |
| 70 | + filters: {published_file_type: Image} |
| 71 | + - actions: [reference, import] |
| 72 | + filters: {published_file_type: 3dsmax Scene} |
| 73 | + - actions: [texture_node] |
| 74 | + filters: {published_file_type: Rendered Image} |
| 75 | + - actions: [texture_node] |
| 76 | + filters: {published_file_type: Texture} |
| 77 | + - actions: [publish_clipboard] |
| 78 | + filters: {} |
| 79 | + Task: |
| 80 | + - actions: |
| 81 | + - assign_task |
| 82 | + - task_to_ip |
| 83 | + filters: {} |
| 84 | + Version: |
| 85 | + - actions: |
| 86 | + - quicktime_clipboard |
| 87 | + - sequence_clipboard |
| 88 | + filters: {} |
| 89 | + enable_context_switch: true |
| 90 | + location: "@common.apps.tk-multi-shotgunpanel.location" |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
0 commit comments