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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

API to get Parent Part from Child Part

vuchekar
9-Granite

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

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?

Top Tags