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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to find the parent child in data sources

Maha
5-Regular Member

How to find the parent child in data sources

Hi

I have all the parts fetched with the Query-object webject (Wt.Part.PartusageLink), with MODE= NESTED

I use a for loop in java, to loop through the elements to perform some calcualtions, if the parts are parent and child

By parent child i mean if part2 comes under part1 bill of material, ill apply the calcualtions on these 2 components.

Now how can we find the parent and child relationtionship using Info*Engine, on these 2 parts?

Thanks in advance

Best regards

Maha

1 REPLY 1
Maha
5-Regular Member
(To:Maha)

Hi

Can someone from PTC please give suggestion on the solution to the above?

I want to loop through the records and perform calculations on the parent and the immediate children. Please advice on how to identify the parent on the immediate children.

Your response is highly appreciated.

Thanks in advance.

Best regards

Maha

Top Tags