cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

How to customize an icon glyph or adornment?

VC_10988901
10-Marble

How to customize an icon glyph or adornment?

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 1

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
PTC
Announcements
Top Tags