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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Change varied Items VB API

Civodul
13-Aquamarine

Change varied Items VB API

Hello,

Does anybody know how to change new value of varied items with CREO 7 VB API.

 

Regards

Ludovic Besse

1 ACCEPTED SOLUTION

Accepted Solutions
Civodul
13-Aquamarine
(To:YaroslavSin)

It's true.

 

Thanks for your time

View solution in original post

4 REPLIES 4

In VB API this is not possible.

 

You can use a workaround:

1) In assemble create a relation PARTVARPARAM:CID_XX = ASMPARAM

where

PARTVARPARAM - variable parameter in the part

CID_XX - XX is a ID of the part component in the assembly

ASMPARAM - assembly parameter

 

2) Using VB API change the value of the asm parameter "ASMPARAM"

Civodul
13-Aquamarine
(To:YaroslavSin)

I've already tried this solution, the problem is that the native assembly is also modified.

Thanks

You are right.

But I think, that by changing a variable parameter of the component will change the assembly too.

Is it not true?

Civodul
13-Aquamarine
(To:YaroslavSin)

It's true.

 

Thanks for your time

Top Tags