Change the iproperties of all parts in a assembly

Change the iproperties of all parts in a assembly

AMN3161
Advocate Advocate
427 Views
2 Replies
Message 1 of 3

Change the iproperties of all parts in a assembly

AMN3161
Advocate
Advocate

hello everyone

 

I am looking for a piece of code that will go through all parts in a assembly to change the part number to a combination of numbers that are within each individual file with the same property names.

 

Basically i want the part number to be 

iProperties.Value("Project", "Stock Number") & "-" & iProperties.Value("Custom", "G_L")

 

0 Likes
428 Views
2 Replies
Replies (2)
Message 2 of 3

AMN3161
Advocate
Advocate

Please disregard this, i was trying to correct a error with copy design and i realized copy design has a option not to update the part number

0 Likes
Message 3 of 3

FINET_Laurent
Advisor
Advisor

What are you refering to when taking about part number?

 

Regards,

 

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes