texture reprojection from CLI

Hi,

using CLI in workflow for texture reprojection and get the following the error:

Reproject Model Cpmmand
Operation Failed

It works perfectly from the UI.

The params.xml file is obtained by exporting the xml file from the UI.

This is the CLI cmd line:
-reprojectTexture Model_4 Model_1_small C:/…/reprojectionParams.xml

I tried to suppress the xml file since it is supposed to be optional, however no texture get repojected onto the model.

Has anyone had this before?
Any suggestions for debugging?

For info here is the whole sequence in python, it worked before on another model:

command = realityCaptureDir + " -delegateTo * "
+ " -importModel " + objFile_out
+ " -renameSelectedModel " + model_RC
+ " -unwrap " + unwrapParams
+ " -reprojectTexture " + reprojectionSourceModel + " " + model_RC + " " + reprojectionParams
+ " -exportModel " + model_RC + " " + LoD_out + " " + exportTexturedMeshParams

Hi @totolai43
This is quite strange, as the commands seem to be right. Can you try the reprojection command directly in RealityCapture? You can paste the command to the console view’s command line.
Can you try to write your commands as BAT file instead of Python?

Hi @orthan,

I found the problem: the texture reprojection source model name had a space in it, replaced with an underscore and works perfectly!