Im looking for a solution to renaming parts and subassemblies. Updating their references in drawings and assemblies.programmically.
We are using Inventor 2011.
I tried using SaveAs but it really boogers up files badly. (Problems with PartNumber Property not not changing).
What is the recommened way to do this in VBA?
Thanks
Hi Gruff,
I have not a code with VBA. But i suggest with the SDK sample: SDK->UserTools->CopyDesign which demonstrates how to get the assembly and parts file copied and renamed, and the file references replaced. The sample uses Apprentice.
Regards,
Xiaodong Liang
Developer Technical Services
Thank you for the response,
I will look at the sample. Hopefully the full inventor API supports the same tools as apprentice as I have to write this in VBA.