How to get assembly component path for the component selected via ProSolidFeatVisit?
How to construct ProIDTable for the assembly component I got throgh ProSolidFeatVisit api. Need assembly component path for the collected part file.
ProIDTable id_table = {Array[0].id} works for the part file collected from the top level. If the required part file present inside a subassembly, this logic fails.
Tried getting asm comppath typecasting ProFeature* Array to Proselection as below, didn't work. ProSelectionAsmcomppathGet((ProSelection)&Array[0], &compPath).
Any ideas please?


