All the NWD files were published by server in the midnight,
And the user will review these files, to realize the purpose of security, we setting the password when these files were generator, internal designer will fetch the password in designated address,
When they open the NWD, Naviswrorks will inquired password, they will paste these character and entry normally,
But we think it is not safety, some people will copy password along with Nwd file,
Now we want to know if is possible that writer one automation program, when roamer.exe to start up to load the NWD file, and the password will input automatic, so the designer open Nwd file normally, but they don’t know what is the password.
It is true you can publish nwd with password. Please take a look at the method Document.PublishFile in API help reference.
In addition, the SDK api\net\examples\Controls\PublishFile is a small demo. It is a control based application, but the core code could be used in a plug-in, and the plug-in can be called by the automation application.
Yeah, absolutely, published the file with password is ok. The demo is great toolkit, I also modified the demo and it can generated password..
But my requirements is how to hidden the Password character when the user open the NWD file, we want write a program, the user can open the NWD file via this program, but they don’t know the exactly Password character.
So, what you wanted to do is to input the password silently without user inputting explicitly. Sorry, however there is no such API currently. The open method does not provide the option.
Probably you could try to catch the password dialog and mimic inputting after Open method. This will need to refer to some APIs of Windows.
We use the Nav to read the PDS model(OIL&GAS plant), all the element include a batch information,
such as design pressure, design temp, element Material, etc.,
to avoid discolse information, so we only want office people can read the NWD file, if these file was disclose, they need password.
This is what your program (logging system) could control, instead of Navisworks API. e.g. when any user has no privilege, the program could just disable the open button, or even forbid the user to log in.
I have find the method, now we are do testing.
I try to write a program, which is key generator, and it will find the handle of Navisworks,
and send the password into the NWD password login interface.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!