Skip to main content
6-Contributor
May 19, 2025
Solved

How to generate Downstream Part Thumbnail

Hello.

If Downstream is created using OOTB's BOM Transformer, Thumbnail is created in the Downstream Part, but if it is created in Java using the Windchill API, Thumbnail is not created.

Create a Downstream Part using the Windchill new BranchForView API.

When you create a Downstream Part, the thumbnail of the part created is not visible.

Upstream Part has Thumbnail.
I'm looking for a way to make the Downstream Part show Thumbnail.

A little bit of information is good, so please share it.

Thank you in advance.

Fadel
FadelAnswer
23-Emerald II
May 19, 2025

Are you using something like below to create the EQL bnetween EBOM/MBOM : 

EquivalenceLink link1 = EquivalenceLink.newEquivalenceLink(part,mPart);
link1.setIsConsumable(true);
link1.setUpstreamContextRef(part.getView());
link1.setDownstreamContextRef(mPart.getView());
link1 = (EquivalenceLink) PersistenceHelper.manager.save(link1); 

 

Buiꓘa

3 replies

Fadel
Fadel23-Emerald IIAnswer
23-Emerald II
May 19, 2025

Are you using something like below to create the EQL bnetween EBOM/MBOM : 

EquivalenceLink link1 = EquivalenceLink.newEquivalenceLink(part,mPart);
link1.setIsConsumable(true);
link1.setUpstreamContextRef(part.getView());
link1.setDownstreamContextRef(mPart.getView());
link1 = (EquivalenceLink) PersistenceHelper.manager.save(link1); 

 

Translate
Buiꓘa
6-Contributor
May 19, 2025

That's right.

After creating Downstream with new BranchForView, we are doing equivalenceLink between objects with equivalenceLink.

 

I can't see the thumbnail even if I connect the equivalence Link

Translate
Fadel
23-Emerald II
May 20, 2025

Can you enable below loggers to TRACE and share the logs as transformation is done from UI and API to compare .

 

com.ptc.windchill.associativity.copyover.CopyOverPropertiesParser 

com.ptc.windchill.associativity.transform.copyover.ClassicTransformCopyOverDelegate
com.ptc.windchill.associativity.copyover.DefaultAttributesCopyOverDelegate
com.ptc.windchill.associativity.copyover.CopyOverData

Translate
Buiꓘa