Cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Fusion-getting immediate parent of child component

Experimenter
Experimenter

Using Knowledge Fusion, I can get the current display part, current work part, and the assembly structure using ug_askAssemblyStructure but I need a little help transversing the returned structure list asking for a specific child's immediate parent. Scenario is having an assembly loaded and one of the children is the current work part. I need to get the current work parent's immediate parent. I was trying a recursive approach but have failed.  Any help would be appreciated! Thank you.