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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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