Not shutting down after error occured

I’m using circular markers to define my reconstruction region. Sometimes a marker is not found and I run into the following error:
“Set Reconstruction Region on Control PointsSet Reconstruction Region
Invalid or corrupted input data
Point … not found. [err:5626]”

Now I have 2 questions:

  1. I would like RC to quit on error, to proceed to the next job waiting in the script, but
    -set “appQuitOnError=True” ^ does not do the trick. RC is waiting until I click close. How can I fix this, and omit waiting the whole night on this error.

  2. In my scenes different marker can be found and used as an alternative, when the standard ones are not found. Is there an elegant way to script the use of alternative markers when the first choice isn’t found?

Thanks in advance.

Hi Klart,
I tested the first issue and for me it worked using these commands:

"C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe" ^
-set "appQuitOnError=true" ^
-addFolder "C:\Documents\Benchmarks\folder" ^
-setReconstructionRegionOnCPs "1" "2" "3" "4" ^

The application quit for me.

For your second case you can use Supress error messages command with some IF THEN commands to continue using the other control points.

My script looks like this

%RealityCaptureExe% -newScene ^
		-set "appQuitOnReset=true" ^
		-set "appQuitOnError=true" ^

and I end up getting stuck here:

I have to close the pop up manually and close RC, so that my script turns to the next dataset.
Any idea how I can force it to quit?

Hi,
I tested also your script and for me it worked. Can you provide the application reset (Reset RealityCapture) and then try to use the script again?
Which version of RealityCapture are you using?

That brought me to the solution. I loaded the global settings which reset my =true statement.
After changing the order everything works as expected. Thanks a lot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.