We are publishing Navisworks Freedom models in a batch from Navisworks Simulate. The files are then copied to a public folder, but if a file is opened by a user it's not possible to overwrite that file. We are using standard xcopy with these switches "xcopy x:\folder\file.nwd y:\folder /Y /F /D /C".
Error from copy:
Sharing violation
0 File(s) copied
Do you have any suggestions about how to overwrite an opened file.
Solved! Go to Solution.
Solved by matla77. Go to Solution.
And make sure the Simulate (and Manage where used) options are set to close NWD/NWC on load. Pulls the content into the program then releases the file.
It seems like these settings must be done at each client installation (Navisworks Freedom). Do you know if there is a way to embed this into the published nwd?
These settings are not save in the NWD file, but are stored in the userprofile of each user on each machine.
You can however export all options on one machine into an XML file and include this option file in the Freedom deployment, so that it is available on each machine.
I have not found a way to import the settings automatically upon startup, so indeed, each user has to start Freedom once, import the option settings and then close Freedom to save them as current settings.
Thank you all for for very helpful answers. If your comany uses a deployment tool to install software this registry key can be changed during the installation (Win 7 64 bit).
Navisworks Freedom 2014
HKEY_CURRENT_USER\Software\Autodesk\Navisworks Freedom x64\11.0\GlobalOptions\model\performance\load, variable "close"
change from "0" (or what ever other value it might be) to "3 1".
Navisworks Freedom 2013
HKEY_CURRENT_USER\Software\Autodesk\Navisworks
Freedom x64\10.0\GlobalOptions\model\performance\load
This will set the close after load option to enabled.