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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Need an Idea for find the Bodies Parameters in VB Api

PM_10505027
5-Regular Member

Need an Idea for find the Bodies Parameters in VB Api

Hi all,

     I need to find the multi bodies parameters. I have a multiple body, like Body1, Body2, Body3, etc... Now I want to find these bodies parameters by iterating each and every Body in the 3D Model. So, I need any sample code in VB API to execute this.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Sample code about how to use ListItems()

\PTC\Creo x.x.x.x\Common Files\vbapi\vbapi_examples\pfcFeaturesExamples.vb

View solution in original post

3 REPLIES 3

Get bodies from model ListItems() with EpfcITEM_BODY as a type. Then read parameters from ModelItem as usual.

PM_10505027
5-Regular Member
(To:YaroslavSin)

Can u give any sample code?

 

Sample code about how to use ListItems()

\PTC\Creo x.x.x.x\Common Files\vbapi\vbapi_examples\pfcFeaturesExamples.vb

Top Tags