Quantcast
Channel: Manufacturing DevBlog
Viewing all articles
Browse latest Browse all 518

AcquireFiles Download not fixing references of renamed files after installing update

$
0
0

By Wayne Brill

If a referenced part file is renamed and AcquireFiles is used to download the parent assembly. (include Children) the assembly and children part files are downloaded but the name of the child part file may not have the new name. Also the ResultDescription may have this error:

“Unknown error was encountered while updating file references"

Here is a screenshot of the Watch window:

image

When the assembly is opened in Inventor. (It is looking for the ipt with the old name). Using the similar code with Vault 2015 this problem is not occurring. 

Solution:

In this case the problem was caused by older dlls in the SDK after a the vault service pack was installed. When Exceptions were enabled in Visual Studio this exception was displayed. Notice the Version number:

image   

The version of Vault Explorer was 18.2.2.0. (Update 2). The problem was be resolved by uninstalling the Vault API SDK and reinstalling it. (Reference the updated dlls in the SDK bin directory in Visual Studio). The SDK install is here by default:

C:\Program Files\Autodesk\Vault Professional 2014\SDK

Note: Be sure to back up any customization you have done to the SDK samples before uninstalling the SDK. 


Viewing all articles
Browse latest Browse all 518

Trending Articles