Vault Customization

Reply
Contributor
m.becher
Posts: 13
Registered: ‎09-22-2011
Message 1 of 4 (469 Views)

How to move Files in Vault...

469 Views, 3 Replies
01-16-2012 08:00 AM

Hi to all,

 

i'am not sure whats the right way to move Files in Vault from one Folder to another.I use the Methode MoveFile, that works fine but the reference to an Assembly is lost. How can i do it right?

 

For example i move Part a.ipt form Folder A to Folder B. The a.ipt is used in the assembly  x.iam. After moving the part, inventor can't find a.ipt when check out and open.

 

Thanks for your help

 

Michael

Employee
Redmond.D
Posts: 814
Registered: ‎12-12-2006
Message 2 of 4 (462 Views)

Re: How to move Files in Vault...

01-17-2012 05:10 AM in reply to: m.becher

In Vault 2011 and earlier, if you move a part, you are expected to also check out any assemblies that reference the part, update the assemblies using the CAD API and check them all back in.  It's a lot of work.

 

In Vault 2012 you don't have to worry about it for AutoCAD, Inventor and Revit files.  If you move a file, Vault 2012 will fix up the references on download.  Here is an article with more information.



Doug Redmond
Software Engineer
Autodesk, Inc.
http://justonesandzeros.typepad.com/

Contributor
m.becher
Posts: 13
Registered: ‎09-22-2011
Message 3 of 4 (459 Views)

Re: How to move Files in Vault...

01-17-2012 07:07 AM in reply to: m.becher

Thanks Doug for your Tip and the good article.

 

By the way i have another small question:

 

Is it possible to set the IsLib Property from a folder with the API or is it under the system control only?

 

Michael

Employee
Redmond.D
Posts: 814
Registered: ‎12-12-2006
Message 4 of 4 (446 Views)

Re: How to move Files in Vault...

01-18-2012 04:31 AM in reply to: m.becher

I'm not aware of any way to change a library folder into a regular folder or vice versa.  Once the folder is created, the isLib value cannot be changed.



Doug Redmond
Software Engineer
Autodesk, Inc.
http://justonesandzeros.typepad.com/

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!