Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Looking for a solution to renaming documents .programmically

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
253 Views, 2 Replies

Looking for a solution to renaming documents .programmically

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

2 REPLIES 2
Message 2 of 3
xiaodong_liang
in reply to: Anonymous

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

 

 

Message 3 of 3
Anonymous
in reply to: xiaodong_liang

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report