I am trying to develop a few applications for ProE using VBA API. I am having some difficulties in using "BOMExportInstruction" to create a BOM for an assembly. I will appreciate if anyone can share some sample code for similar applications.
I too am trying to develop VBA apps that link with Pro/E. I require examples of Family Table manipulation. I have found very very little on the internet... and most of what I have found is for VB - not VBA. PTC did not do a good job of providing clear examples in the documentation as most are focussed on VB.
Perhaps I will submit a support ticket to PTC requesting help. If I obtain any feedback, I will post it.
Please find the attached VBA example application that would connect to an existing Wf5.0 / Creo Session, retrieves a part file PRT0001.prt from the working directory and accesses its family table content and displays the instance names one after another.
This is just to show how to access the family table info. Once an instance name is in hand, you should be able to retrieve the model in to session and do required operations as any other model.