# How can publish Alembic geometry in Maya when working on a Shot?

**URL:** <https://community.shotgridsoftware.com/t/how-can-publish-alembic-geometry-in-maya-when-working-on-a-shot/3324>\
**Category:** Pipeline Integrations\
**Tags:** publish, alembic\
**Created:** [October 10, 2019, 9:32am UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-geometry-in-maya-when-working-on-a-shot/3324 "2019-10-10T09:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philip.scadding](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/philip.scadding/32/30_2.png) [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Post date:** [October 10, 2019, 9:32am UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-geometry-in-maya-when-working-on-a-shot/3324/1 "2019-10-10T09:32:35Z")

</div>

The default configuration is set up to allow publishing of Alembic geometry in Maya when working on assets, but you can add the functionality so it is available when working on shots as well.

# Instructions

To add it you need to copy the alembic publish settings from the Maya asset publish app environment settings:

> <https://github.com/shotgunsoftware/tk-config-default2/blob/v1.2.9/env/includes/settings/tk-multi-publish2.yml#L180-L183>

To your Maya shot publish app environment settings:

> <https://github.com/shotgunsoftware/tk-config-default2/blob/v1.2.9/env/includes/settings/tk-multi-publish2.yml#L205>

So that you have something that looks like this:

```auto
settings.tk-multi-publish2.maya.shot_step:
  collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
  collector_settings:
      Work Template: maya_shot_work
  publish_plugins:
  - name: Publish to Shotgun
    hook: "{self}/publish_file.py"
    settings: {}
  - name: Upload for review
    hook: "{self}/upload_version.py"
    settings: {}
  - name: Begin file versioning
    hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
    settings: {}
  - name: Publish to Shotgun
    hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_session.py"
    settings:
        Publish Template: maya_shot_publish
  - name: Publish to Shotgun
    hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_session_geometry.py"
    settings:
        Publish Template: shot_alembic_cache
  help_url: *help_url
  location: "@apps.tk-multi-publish2.location"

```

Note that I’ve changed the `Publish Template` value from `asset_alembic_cache` to `shot_alembic_cache`. However, the `shot_alembic_cache` doesn’t exist yet in the templates.yml so you need to add it here:

> <https://github.com/shotgunsoftware/tk-config-default2/blob/v1.2.9/core/templates.yml#L414>

Something like:

```auto
shot_alembic_cache:
        definition: '@shot_root/publish/caches/{name}.v{version}.abc'

```

---

<div class="post-metadata">

**Author:** ![matt\_ce](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@matt\_ce](https://community.shotgridsoftware.com/u/matt_ce)\
**Post date:** [October 10, 2019, 10:25pm UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-geometry-in-maya-when-working-on-a-shot/3324/2 "2019-10-10T22:25:06Z")

</div>

Thanks very much Phil, that’s good to see!
