Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Item with two icons

Hello Experts

 

I have a request out of one customer

 

He wants to have two icons for the same Item type. Depending on the content of the Item (for example, if contains a BOMview) he wants that the Item icon changes (to be able to diferenciate them in a list)

 

He wants to see if an Item contains a part or an assemly, just looking at the icon

 

I have looked for info, but i have not found anything.

 

Any idea?

 

Thanks for your help

 

Kind Regards

 

Angel Romero

8 REPLIES
Solution
Solution
Accepted by topic author angelromero
‎04-04-2016 04:44 AM

Re: Item with two icons

I think that the best solution will be creating two item types - one for assemblies and second for parts with different icons.

If you need have a one item type, then look into second part of attached PDF. Maybe something like that will resolve your problem.

Best regards

Bernard Pacula,
CAMdivision Sp. z o.o.
Consultant PLM/System Architect

Re: Item with two icons

Thanks so much for the info!!!

 

I will check, it.

 

BTW, i have no idea why to put a property that indicates if the item contains a BOMLine. i will check

Re: Item with two icons

You could also look into setting up a property renderer so that when the BOMViewRevision is present it shows a different icon.

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC
Solution
Solution
Accepted by topic author angelromero
‎04-04-2016 04:44 AM

Re: Item with two icons

You need not put a property. Item already has property "bom_view_tags" with which you know if there is a BOMView attached to it (i.e. it is an assembly item or not). Similary, ItemRevision has "structure_revisions" property.

Re: Item with two icons

Thanks fot he info!!!

Re: Item with two icons

thanks so much!!!

Re: Item with two icons

Hello Angel Romero!

We are trying to achieve the exact same solution.


We have one Item-Type which we use for Parts and Products (with BOM Line).

We want to display an other Icon for the Item Revision if a BOM Structure is under it.


Our problem is now that the Teamcenter documentation "business_modeler_ide_guide.pdf" on page 336 tells you that array properties are not supported in the render definitions.
Even our tries in our development environment did not bring any solution.

 

Your thanks comment suggests me that you have found a solution for this.
So can you please tell me how you have done it?

 

Kind Regards,
Markus Auer

Re: Item with two icons

use the overlay icon functionality