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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Windchill Replace Substitute / Alternate Server API

ashishbhusa
13-Aquamarine

Windchill Replace Substitute / Alternate Server API

Hi,

 

How can I replace Susbtitute / Alternate Part using API? Which is the Windchill Task or Java API for it.?

2 REPLIES 2

Hi,

 

have you found a solution for this in the meantime? I'm facing the same issue right now, but can't find any useful API. My best guess was the WTPartHelper.service.replacePartAssemblies() but don't really work for me.

 

Br,

Csaba

Csaba
7-Bedrock
(To:Csaba)

Hi Guys,

 

Actually, the WTPartHelper.service.replacePartAssemblies is working fine if you have WTPartMaster as the parent and as the child in a BOM relation.

In other cases, you should look for the WTPartUsageLink object, which is representing the BOM relation between the parent and child, and set the replacement part as child for the found WTPartUsageLink object.

 

Br,

Csaba

Announcements


Top Tags