Hello.
I have Revit Server and I need to reassembly all models from shared disk and from RSN. I have created the batch script which copies files from server (with xcopy) and creates local files (withRevitServerTool createLocalRvt). Script is running every night at 3 AM.
There are some problems with create of local files from RSN - they are making slow and sometimes error "cannot create the local model because it busy" happens. It may happens if I launch the script when people are working at the moment. But manually I can create local file when I want without errors! Why it works not via scripting?
I have couple of questions:
1) How can I accelerate the speed of creating local files from RSN;
2) How can I avoid those error?
3) Can RSN creates detached files via command line?
P.S. I attach my script for better understanding.
P.P.S All ways are nominal.
I have Revit Server and I need to reassembly all models from shared disk and from RSN. I have created the batch script which copies files from server (with xcopy) and creates local files (withRevitServerTool createLocalRvt). Script is running every night at 3 AM.
There are some problems with create of local files from RSN - they are making slow and sometimes error "cannot create the local model because it busy" happens. It may happens if I launch the script when people are working at the moment. But manually I can create local file when I want without errors! Why it works not via scripting?
I have couple of questions:
1) How can I accelerate the speed of creating local files from RSN;
2) How can I avoid those error?
3) Can RSN creates detached files via command line?
P.S. I attach my script for better understanding.
P.P.S All ways are nominal.
Code:
xcopy "\\shareddisk\*.rvt" "D:\Projects\01" /y cd "C:\Program Files\Autodesk\Revit Server 2022\Tools\RevitServerCommand\" RevitServer lock -server cd "C:\Program Files\Autodesk\Revit Server 2022\Tools\RevitServerToolCommand" RevitServerTool createLocalRvt "01\Model1.rvt" -s otzsrv -d "D:\Projects\01\Model1.rvt" -o cd "C:\Program Files\Autodesk\Revit Server 2022\Tools\RevitServerCommand\" RevitServer unlock -server cd /d D:\Program Files\Autodesk\Navisworks Manage 2022 FiletoolsTaskRunner.exe /i "D:\Projects\01\Navisworks\RevitWays.txt" /of "D:\Projects\01\Navisworks\01.nwd" /log "D:\Projects\01\Navisworks\01.log" /appendlog /lang en-EN xcopy "D:\Projects\01\Navisworks\01.nwd" "\\shareddisk\assembly" /y