Community
Navisworks Forum
Welcome to Autodesk’s Navisworks Forums. Share your knowledge, ask questions, and explore popular Navisworks topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sharing violation when copying nwd files

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
matla77
2348 Views, 5 Replies

Sharing violation when copying nwd files

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.

5 REPLIES 5
Message 2 of 6
Patrick_Aps_9121
in reply to: matla77

yes, do not use xcopy to push the NWD to a network but use xcopy to pull the files on to a windows server. Give everyone ony read rights on this share.
The scheduled batch job on a windows server can also close the open files just before overwriting them: the command line syntax is:
OPENFILES /Disconnect /OP "D:\Localpath\*.NWD" /ID *
Message 3 of 6
dgorsman
in reply to: Patrick_Aps_9121

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.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 4 of 6
matla77
in reply to: dgorsman

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?

navis_settings_close.png

Message 5 of 6
Patrick_Aps_9121
in reply to: matla77

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.

Message 6 of 6
matla77
in reply to: matla77

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report