it's all the same procedure with all Pro/E APIs.
There is no "give me the bom" command.
So the solution is to loop RECURSIVELY through the assembly tree starting at top level asm of course. Then, in every subasm, get a list of all features (!) in the subasm of type FEAT_TYPE_COMPONENT (name is different in all APIs). Then you can check for every single component if there is the group you are looking for.
Hope that helps.
MCAD Services Pro/E & Pro/E customization
D-65439 Floersheim / Germany
phone: +49 6145 598296
> I need to have my JLink app, starting in the top-level assembly, search
> through the subassemblies until it finds a specified group.
Here is a Pro/WebLink based example that illustrates recursing through assemblies:
Use Bjarne's example for the specifics of doing this in J-Link. The above code
in J-Link would be quite a bit more verbose, but that's just a Java thing.
Visit My CAD/PDM AutomationBlog
Or, Subscribe to My CAD/PDM Automation Blog by Email