Hello all,
I have questions about using the ReplaceProduct function in a VBA macro. I tried to search around, look at the CATIA docs, record macro, etc. but no luck yet... The purpose of the macro is to rename a selected product and relink, essentially: you make a selection, give it a new name, it will copy and paste (break link) into the top level product, then it will search and replace the old with the new product whiles keeping links.
I all of the code working except the ReplaceProduct function. Attached is the code, again, I am using CATIA V5 R21 and VBA. Thanks again!
I have questions about using the ReplaceProduct function in a VBA macro. I tried to search around, look at the CATIA docs, record macro, etc. but no luck yet... The purpose of the macro is to rename a selected product and relink, essentially: you make a selection, give it a new name, it will copy and paste (break link) into the top level product, then it will search and replace the old with the new product whiles keeping links.
I all of the code working except the ReplaceProduct function. Attached is the code, again, I am using CATIA V5 R21 and VBA. Thanks again!