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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

HOW TO OPEN FAMILY TABLE INSTANCES OF A PART MODEL USING AUTOMATION.

avijayan-2
14-Alexandrite

HOW TO OPEN FAMILY TABLE INSTANCES OF A PART MODEL USING AUTOMATION.

Hello Everyone.

 

I am having a sheet metal part which is having lot of family table members. What i want to know is when we open this part manually in creo first it will pop-up the full list of members with genric item so that we can open any perticular instances.

But how is this possible through VB-API. I am able to open the model and its asking to choose the reps but i am not able to get the family table list.

I tried the below codes:

 

Dim descModel As IpfcModelDescriptor
Dim options As IpfcRetrieveModelOptions
Dim model As IpfcModel

 

options = (New CCpfcRetrieveModelOptions).Create
options.AskUserAboutReps = True

descModel = (New CCpfcModelDescriptor).Create(type, instance, Nothing)
descModel.Path = stdPath
model = session.RetrieveModelWithOpts(descModel, options)
retrieveModelFromStdDir = model

 

But in this case i have to specify which instance i want to open. But its again a time consuming process right.

So is there any way so that when i open the part by default it should list the family members so that i can open the mode.

Any suggestion's will be very helpfull for me.

 

With Regards

Aghil.M

0 REPLIES 0
Announcements


Top Tags