Skip to main content
15-Moonstone
September 2, 2021
Question

Pro/Program to add inventor parts

  • September 2, 2021
  • 2 replies
  • 2095 views

Is it possible to use Pro/Program to add inventor parts using a variable?

 

tried:

Use_this_part="0000499747.IPT"

Use_this_part="0000499747.ipt"

Use_this_part="0000499747"

 

 

ADD COMPONENT (Use_this_part)
INTERNAL COMPONENT ID 49
END ADD

 

2 replies

17-Peridot
September 3, 2021

I'm not sure if it's possible. If you're swapping parts by passing a parameter to Pro/Program you need to have an interchange assembly setup to allow you to resolve references when swapping components.

Did you setup an Creo Interchange Assembly with the Inventor part? Not sure if this is possible either but maybe a good place to start.

SYNDAKIT15-MoonstoneAuthor
15-Moonstone
September 3, 2021

I didn't set up an interchange. 
With Creo parts it works great but I just can't get it to work with Inventor parts.


 

 

17-Peridot
September 3, 2021

You could always contact PTC support.

SYNDAKIT15-MoonstoneAuthor
15-Moonstone
September 8, 2021

The answer is no, you can not use Inventor parts with Pro/Program using a variable.