Is it possible to publish an nwd file via the Batch Utility?
I currently generate a new model via the Batch Utility Scheduler but for security reasons, I need the file to be locked after 24hrs.
I can manually publish the file with these settings but I need to automate the file creation.
Solved! Go to Solution.
In the VB examples there is an example that does just that:
C:\Program Files\Autodesk\Navisworks Simulate 2011\api\COM\examples\AUTO_08\Auto_08.vbs
(I suppose it is also included in the 2012 version)
Just open with Notepad and read it.
This can be launced from a command line
and thus by a scheduled CMD-file.
I had to modify it to get rid of the password and expirying date...
Try the Navisworks API forum
If you replace the expiry argument with the following code, the published file has a onw week lifespan.
arg_expiry = dateadd("d", 7, Now() )
Do you know if there is a way of creating a batch that uses the publish option "embed database properties" instead of expiration date?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!