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?

