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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

API to get Parent Part from Child Part

vuchekar
10-Marble

API to get Parent Part from Child Part

Hi All,

I am going to search Parent Part from Windchill, by providing a child part as an attribute to a program.

which method i have to use for getting Parent information from child.

How i can navigate in structure from bottom to Top.

Any help will be grate.

Regards,

Vivek

2 REPLIES 2
BineshKumar1
13-Aquamarine
(To:vuchekar)

I think you can use wt.part.WTPartHelper.service.getUsedByWTParts(WTPartMaster partMaster)

Thank you,

Binesh Kumar

Hi Binesh,

I am also looking for similar kind of solution to be used within a Validator.

I will have to hide an action when the value of an attribute on Parts Usage link is true.

If I use the above said API, I would all the parts that are being used in all the BOM's is there a way how I can get its immediate Parent from the structure?

Is there a way to achieve this?

Announcements


Top Tags