# Custom metadata from jt file

**URL:** https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762
**Category:** HOOPS Exchange
**Tags:** how-to
**Created:** [June 13, 2024, 7:50am UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762 "2024-06-13T07:50:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jht13](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jht13](https://forum.techsoft3d.com/u/jht13)
#### Post date: [June 13, 2024, 7:50am UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762/1 "2024-06-13T07:50:41Z")

</div>

Dear support,

I am facing an issue retrieving metadata from jt file. I used hoops c++ functions to retrieve generic attributes (based on sample source code) but some metadata (obviously custom) aren’t retrieved. Hoops Demo Viewer is retrieving them.  
Is there a different API (or loading options) to get them?

Thanks  
Regards,

Hoops Exchange 2022.SP2.U2 (last supported version for vs2017)  
JT Version 10.5

---

<div class="post-metadata">

### Author: ![royal.bk](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@royal.bk](https://forum.techsoft3d.com/u/royal.bk)
#### Post date: [October 29, 2024, 11:05am UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762/2 "2024-10-29T11:05:18Z")

</div>

Hi @gabriel.peragine

I am facing similar issue. Could you please help ?

In my case i am getting metadata for some PO items partially only . .  
like 11 atribubtes.  
But when i check the hoops demo viewer for the same item . the metadata seems to be more with names like designer names and much more infos.  
Do i need to search for datas somewhere else. ?

I am using the hoops . (2024.6.0)

---

<div class="post-metadata">

### Author: ![Man](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Man](https://forum.techsoft3d.com/u/Man)
#### Post date: [October 29, 2024, 12:52pm UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762/3 "2024-10-29T12:52:49Z")

</div>

Hello,  
Have you tried traversing all Product Occurrences, including the Prototype? You may want to check the CAD file using the default example **PRC2XML**. If the issue persists when using PRC2XML, could you provide your CAD file for further analysis? Thank you.

Best Regards,  
Man

---

<div class="post-metadata">

### Author: ![royal.bk](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@royal.bk](https://forum.techsoft3d.com/u/royal.bk)
#### Post date: [October 29, 2024, 8:55pm UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762/4 "2024-10-29T20:55:09Z")

</div>

This worked perfectly well for me. What i have missed is getting the attributes for the Prototype type entities . Now i could get all the missing attributes properly .  
Thank you so much .

---

<div class="post-metadata">

### Author: ![jht13](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jht13](https://forum.techsoft3d.com/u/jht13)
#### Post date: [November 4, 2024, 8:14am UTC](https://forum.techsoft3d.com/t/custom-metadata-from-jt-file/3762/5 "2024-11-04T08:14:05Z")

</div>

Hi,

The solution pointed out by @Man works.  
Thanks all for your updates.
