Skip to main content
Sep 2, 2021 10:48 PM UTC
Question

Pro/Program to add inventor parts

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

 

5 replies

Sep 3, 2021 8:14 PM UTC

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.

SYNDAKITAuthor
Sep 3, 2021 8:17 PM UTC

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.


 

 

Sep 3, 2021 8:21 PM UTC

You could always contact PTC support.

SYNDAKITAuthor
Sep 8, 2021 12:19 PM UTC

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