# Get icon bitmap of a component that will be created by a part creator

**URL:** <https://forum.visualcomponents.com/t/get-icon-bitmap-of-a-component-that-will-be-created-by-a-part-creator/7634>\
**Category:** .Net Add-on Programming\
**Created:** [January 20, 2025, 1:14pm UTC](https://forum.visualcomponents.com/t/get-icon-bitmap-of-a-component-that-will-be-created-by-a-part-creator/7634 "2025-01-20T13:14:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TSy](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/tsy/32/761_2.png) [@TSy](https://forum.visualcomponents.com/u/TSy)\
**Post date:** [January 20, 2025, 3:05pm UTC](https://forum.visualcomponents.com/t/get-icon-bitmap-of-a-component-that-will-be-created-by-a-part-creator/7634/4 "2025-01-20T15:05:20Z")

</div>

If the component is known to the eCat indexer / local database, you can probably find the metadata using the database directly. Basically need to find Item object with corresponding VCID / URI and get the icon file path from it. This isn’t part of the VC public API, though so it might change or cease to exist.

The database may also contain multiple matching items and the VCID resolving order is complicated, so you might not be able to reliably figure out the correct component which the part creator will actually create.

Something similar to this:

> [@Add component from eCatalog](https://forum.visualcomponents.com/t/add-component-from-ecatalog/573/2):
>
> You can add reference to VisualComponents.eCatalogue.DataModel.dll and then do something like this. I didn’t test it so handling details such as file paths etc. might be wrong. using Caliburn.Micro; using System; using System.Collections.Generic; using System.Linq; using VisualComponents.Create3D; using VisualComponents.eCatalogue.DataModel.Data; using VisualComponents.eCatalogue.DataModel.Data.Entities; namespace ECatAdder { class ECatAdderTest { private List\<Item\> eCatCompone…

---

_[View the full topic](https://forum.visualcomponents.com/t/get-icon-bitmap-of-a-component-that-will-be-created-by-a-part-creator/7634)._
