Set boolean parameters from the command line

Hi,

I’m using the PPI version of RC, and currently experimenting a CLI process to speed up manual tasks a bit.

I’m trying to set boolean parameters using the CLI, but I can’t find a way to do that. I would like to set the “Merge components only” alignment setting to “Yes” or “No”, depending on the job.

According to the exported alignment settings XML file, the parameter to do that is : 

<entry key="sfmMergeComponentsOnly" value="false"/>

So, I thought I would use the following command : 

%RealityCapture.exe -delegateTo RC1 -set sfmMergeComponentsOnly=true

But this doesn’t work. I managed to use this technique to set some text and numeric parameters (“sfmMaxFeaturesPerImage” for instance), but boolean parameters simply don’t work. I tried True, true, yes, 1…

Any help ? BTW, being able to do some stuff with a CLI is a great feature !

Best regards,

Stéphane 

Dear user, I am afraid such attitude to the use of CLI is not yet possible.

Hello Stephane,

when using the keys with set command, you need to use it this way:

-set “sfmMergeComponentsOnly=true”

In the upcoming release, this setting will be replaced by a button and there will be a separate command mergeComponents.