# Where/what is \`hdGen/schema.py\`?

**URL:** <https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020>\
**Category:** Hydra\
**Created:** [November 23, 2024, 3:23pm UTC](https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020 "2024-11-23T15:23:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lfascione](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/lfascione/32/751_2.png) [@lfascione](https://forum.aousd.org/u/lfascione)\
**Post date:** [November 23, 2024, 3:23pm UTC](https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020/1 "2024-11-23T15:23:18Z")

</div>

Hi,  
I was trying to implement a Hydra2 HdSchema copying `pxr/usdImaging/usdImaging/directMaterialBindingSchema.h` and in it I found a message saying that the file was generated using `hdGen/schema.py` but I can’t quite figure our where that file is, can anyone give me a hint please?

I’m kinda assuming it’d be something similar to `usdGenSchema`

I’m working with USD 24.03, because I’m on VFX Ref Platform CY2024

Many thanks  
Luca

---

<div class="post-metadata">

**Author:** ![dlanier](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dlanier/32/166_2.png) [@dlanier](https://forum.aousd.org/u/dlanier)\
**Post date:** [November 25, 2024, 8:58am UTC](https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020/2 "2024-11-25T08:58:54Z")

</div>

Hi Luca,  
Could it be :  
[OpenUSD/pxr/imaging/hd/hdGenSchema.py at release · PixarAnimationStudios/OpenUSD · GitHub](https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/imaging/hd/hdGenSchema.py) ?  
But as far as I can tell, this file was not in 24.03.  
Regards,  
David

---

<div class="post-metadata">

**Author:** ![dlanier](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dlanier/32/166_2.png) [@dlanier](https://forum.aousd.org/u/dlanier)\
**Post date:** [November 25, 2024, 9:02am UTC](https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020/3 "2024-11-25T09:02:11Z")

</div>

In recent releases it seems to be :

> <https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/imaging/hd/hdSchemaDefs.py>

Which was not in 24.03 I think.  
Regards,  
David

---

<div class="post-metadata">

**Author:** ![lfascione](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/lfascione/32/751_2.png) [@lfascione](https://forum.aousd.org/u/lfascione)\
**Post date:** [November 25, 2024, 1:28pm UTC](https://forum.aousd.org/t/where-what-is-hdgen-schema-py/2020/4 "2024-11-25T13:28:41Z")

</div>

Thanks a lot for your help David, I’ll start there then
