Skip to main content
10-Marble
May 6, 2025
Question

How to customize an icon glyph or adornment?

  • May 6, 2025
  • 1 reply
  • 340 views

Version: Windchill 12.1

 

Use Case: We have different subtypes for parts, and each subtype has a custom icon. The custom icons are already configured. Many of these subtypes can be an end item. When "end item" is true on the part, we want to add a glyph to the custom icon.


Description:

I am able to create a custom IconDelegate following this documentation: https://support.ptc.com/help/windchill/r12.1.2.0/it/index.html#page/Windchill_Help_Center/customization/WCCG_UICust_PresentInfoUI_IconDelegates.html

 

But I am not sure how to add more glyphs/adornments. I understand there is the IconCache cache with 

_addGlyphs() and mergeImages(), but I don't know what is the best way to add another glyph to the class.
 
Has anyone done this before?
My workaround would be to create another set of custom icons for each subtype, to be assigned when they are end items.

1 reply

Catalina
Community Moderator
May 19, 2025

Hi VC_10988901

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Catalina | PTC Community Moderator