Inventor Customization

Inventor Customization

Reply
Active Member
philippelandry4954
Posts: 6
Registered: ‎01-30-2008
Message 1 of 3 (464 Views)
Accepted Solution

Include a material library in INVENTOR 2013 project with api

464 Views, 2 Replies
11-20-2012 07:13 AM

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

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.

Mentor
xdumont
Posts: 187
Registered: ‎03-20-2006
Message 2 of 3 (451 Views)

Re: Include a material library in INVENTOR 2013 project with api

11-20-2012 11:52 PM in reply to: philippelandry4954

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.

Active Member
philippelandry4954
Posts: 6
Registered: ‎01-30-2008
Message 3 of 3 (426 Views)

Re: Include a material library in INVENTOR 2013 project with api

12-04-2012 10:32 PM in reply to: xdumont

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

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.