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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Translate the entire conversation x

How to generate Downstream Part Thumbnail

YH_10333800
5-Regular Member

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.

ACCEPTED SOLUTION

Accepted Solutions
Fadel
22-Sapphire III
(To:YH_10333800)

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); 

 

Fede

View solution in original post

3 REPLIES 3
Fadel
22-Sapphire III
(To:YH_10333800)

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); 

 

Fede
YH_10333800
5-Regular Member
(To:Fadel)

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

Fadel
22-Sapphire III
(To:YH_10333800)

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

Fede
Announcements
Top Tags