Exporting STmaps by using CLI
Hi,
I'm writing an automated batch script to run my scans. Unfortunately everything works except the fact that I cannot export any ST maps by using CLI.
Here is the example:
:: Switch off console output.
@echo off
:: Path to RealityCapture application.
set RealityCaptureExe="C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe"
:: Path to export parameteres
set ParameterDir="C:\Program Files\Capturing Reality\RealityCapture\Parameters"
:: Root path to work folders where all the datasets are stored
set RootFolder="D:\test\test_rc\xpolar"
:: A path to the folder with images used for alignment
set ImagesGeometry=%RootFolder%\jpeg
:: A path to the folder with images, on which markers will be detected
set ImagesTexture=%RootFolder%\jpeg
:: Rename reality capture project as:
for %%I in ("%~dp0.") do for %%J in ("%%~dpI.") do set ParentFolderName=%%~nxJ
:: Open RealityCapture Project.
%RealityCaptureExe% -newScene ^
-load %RootFolder%\rc\%ParentFolderName%.rcproj ^
-exportSTMap "%RootFolder%\STmaps"
Everything works up until this point and getting an error while exporting STMaps.
...................................................................................................
"Error Parsing or Executing Commandline Batch"
"Access denied"
...................................................................................................
Would someone be able to tell me how to solve this issue.
Thank you
Harsh
Please sign in to leave a comment.
Comments
1 comment