# Detecting if a \`usdc\` layer should be reexported

**URL:** <https://forum.aousd.org/t/detecting-if-a-usdc-layer-should-be-reexported/2291>\
**Category:** USD\
**Created:** [March 6, 2025, 9:56pm UTC](https://forum.aousd.org/t/detecting-if-a-usdc-layer-should-be-reexported/2291 "2025-03-06T21:56:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvmkuruc](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nvmkuruc](https://forum.aousd.org/u/nvmkuruc)\
**Post date:** [March 6, 2025, 9:56pm UTC](https://forum.aousd.org/t/detecting-if-a-usdc-layer-should-be-reexported/2291/1 "2025-03-06T21:56:38Z")

</div>

`usdc` allows for incremental updates at the cost of larger files from no longer used data. Is there an easy way to detect if a crate file contains unused data and would benefit from being reexported via `usdcat`?

---

<div class="post-metadata">

**Author:** ![spiff](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/spiff/32/22_2.png) [@spiff](https://forum.aousd.org/u/spiff)\
**Post date:** [March 6, 2025, 11:43pm UTC](https://forum.aousd.org/t/detecting-if-a-usdc-layer-should-be-reexported/2291/2 "2025-03-06T23:43:09Z")

</div>

There isn’t! Not sure how we’d present such a query, given that it’s a particular-fileFormat-specific thing, and crate is a plugin. Any ideas on a Format-agnostic API that makes sense beyond IsDirty() ?

---

<div class="post-metadata">

**Author:** ![nvmkuruc](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nvmkuruc](https://forum.aousd.org/u/nvmkuruc)\
**Post date:** [March 7, 2025, 12:06am UTC](https://forum.aousd.org/t/detecting-if-a-usdc-layer-should-be-reexported/2291/3 "2025-03-07T00:06:10Z")

</div>

I was thinking it could be a part of the `UsdCrateInfo` interface.
