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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

PartBuilder and NavigationCriteria to get only leaf nodes and part of specific type

VM_13704617
4-Participant

PartBuilder and NavigationCriteria to get only leaf nodes and part of specific type

Hi All, I am trying to build a Part Structure Iterator module that recursively iterates a Part structures and returns all the parts under them using the combination PartBuilder and Navigation Criteria. I found this quicker compared to WTPartHelper.service.getUsesWTParts. Now I want to customize it further by adding methods that return only leaf nodes(parts that do not have any children) and parts of a specific type. Anybody got any simpler solution? like playing with Navigation criteria?

2 REPLIES 2
Fadel
22-Sapphire III
(To:VM_13704617)

you can use some approach as in https://community.ptc.com/t5/Windchill/Finding-Bom-Headers/m-p/991286#M83459%3Fsource=search 

for finding leaf parts . 

Fede

Hi @VM_13704617 ,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.


Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,


Catalina
PTC Community Moderator
PTC
Announcements
Top Tags