# How can publish Alembic in animation with specific name?

**URL:** <https://community.shotgridsoftware.com/t/how-can-publish-alembic-in-animation-with-specific-name/15193>\
**Category:** Pipeline Integrations\
**Tags:** publish, alembic\
**Created:** [April 18, 2022, 8:52pm UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-in-animation-with-specific-name/15193 "2022-04-18T20:52:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nu7hz](https://avatars.discourse-cdn.com/v4/letter/n/a698b9/32.png) [@Nu7hz](https://community.shotgridsoftware.com/u/Nu7hz)\
**Post date:** [April 18, 2022, 8:52pm UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-in-animation-with-specific-name/15193/1 "2022-04-18T20:52:53Z")

</div>

Hi community, I am trying to publish Alembic from animation task which we have 4-5 assets in the scene. By default it was just grab all the stuff into a 1 Alembic file but i need a separate file for each asset (or group?)

I’ve try to add this into collector and got a separate publish items like what i want but still, all Alembic files are the same name which is i gave it in the template.

```auto
> def _collect_session_geometry(self, parent_item):
> for grp in cmds.ls(assemblies=True, long=True):
> if cmds.ls(grp, dag=True, type="mesh"):
> geo_item = parent_item.create_item(
> "maya.session.geometry",
> "Asset",
> grp
> )

```

Question is, How to get all the asset name from outliner or maybe group name into each publish Alembic file. Still, correct me if i did something wrong? i’m quite new here with Shotgrid.

Regards,  
Nat.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Musch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/ricardo_musch/32/405_2.png) [@Ricardo\_Musch](https://community.shotgridsoftware.com/u/Ricardo_Musch)\
**Post date:** [April 20, 2022, 8:01pm UTC](https://community.shotgridsoftware.com/t/how-can-publish-alembic-in-animation-with-specific-name/15193/2 "2022-04-20T20:01:11Z")

</div>

Likely has to do with the kind of publish template you are using and how that template is reconciled.

Have a read throigh some of these tutorials t understand better how to customize things:

Animation Pipeline Tutorial

> **[ShotGrid Developer](https://developer.shotgridsoftware.com/cb8926fc/)**
>
> This site contains detailed technical reference for all of the ways you can interact with ShotGrid programmatically, as well as tutorials, guides, and other educational resources for learning how to make the best use of all of ShotGrid's integration...

Generating a Path and Publishing it:

> **[ShotGrid Developer](https://developer.shotgridsoftware.com/836446f3/?title=Generating%2Ba%2Bpath%2Band%2Bpublishing%2Bit)**
>
> This site contains detailed technical reference for all of the ways you can interact with ShotGrid programmatically, as well as tutorials, guides, and other educational resources for learning how to make the best use of all of ShotGrid's integration...
