AcquireFiles() not fixing references of renamed files

By Wayne Brill

If files are renamed in Vault you may see that AcquireFiles() is not fixing the references. For AutoCAD this would be an XReference that was renamed and for Inventor it will be an ipt that was renamed.

A solution for AutoCAD files is to Add a Reference in your project to a dll named DWGDBXEngineWrapper.dll.  (Add it from this directory)
C:\Program Files\Autodesk\Vault Professional 2016\Explorer
 
Also add a using statement in your project:

image

 

For Inventor:

Apply the Vault 2016 Service pack   https://knowledge.autodesk.com/support/vault-products/downloads/caas/downloads/content/autodesk-vault-2016-service-pack-1.html?v=2016


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading