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: 

Include a material library in INVENTOR 2013 project with api

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
philippelandry4954
721 Views, 2 Replies

Include a material library in INVENTOR 2013 project with api

I have a lot of project files to migrate from INVENTOR 2012 to 2013. So I created an VB.NET application to get and check out all project files from my VAULT, change the different paths and check in the files in the vault. However, I need to include the new material library in each project files.

 

Is there any way to do it ?

 

I found that we could change almost everything, but not include material library.

 

Thanks for any help

2 REPLIES 2
Message 2 of 3

Hello,

 

There is no API to do that.

 

Then how I workarround:

First things to know, IPJ is a XML file.

 

Then what Iyou can do:

1) Migrate the IPJ in 2013 by changing the UsingUniqueFileNames property and get back to the initial value. This made available in the IPJ a XML block for apperance and material.

 

2) Perform needed change using VB.net XML tools

 

3) Migrate again the IPJ to be sure all is perfect.

 

4) Remove the IPJ with the method Remove. This improve performance by removing the IPJ Shortcut in the Inventor project Folder. I f you don't do that, all become very slow when you start apprentice server.

 

Hope this help you.

Message 3 of 3

Thanks for your help. I've tried and it's working now.

 

 

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

Post to forums  

Autodesk Design & Make Report