Command Line Mode: ALL_AT_ONCE
Posted: Fri Dec 10, 2021 9:21 am
Hello,
I am looking to use the command line mode to open a e57 file ( single e57 file containing two clouds) change the -SF_COLOR_SCALE to a custom xml file and save the clouds as a .bin file.
I am getting the desired results when working with file paths with no spaces for the save file path. I am putting the file paths inside quotation marks (") but experiencing issues getting the file to save when a space is present in the save file path.
The following error is give: Invalid parameter: specified 2 file names, but ALL_AT_ONCE is on
This is an example of the commands i am using, entered as a single string in Command Prompt:
in the above example i have kept a folder with a space in the save file path (New folder) this does not work. If this folder name is replaced with a folder name with no space in the name everything works as expected. Folders are already created and exist before issuing the command line commands.
Any advice on what is causing this issue would be greatly appreciated.
I am using windows and Cloud Compare v2.11.3 (Anoia) [64-bit]
Regards James
I am looking to use the command line mode to open a e57 file ( single e57 file containing two clouds) change the -SF_COLOR_SCALE to a custom xml file and save the clouds as a .bin file.
I am getting the desired results when working with file paths with no spaces for the save file path. I am putting the file paths inside quotation marks (") but experiencing issues getting the file to save when a space is present in the save file path.
The following error is give: Invalid parameter: specified 2 file names, but ALL_AT_ONCE is on
This is an example of the commands i am using, entered as a single string in Command Prompt:
Code: Select all
"C:\Program Files\CloudCompare\CloudCompare.exe" -AUTO_SAVE OFF -O "C:\Users\Example\Example\Example\20211110_204859.e57" -SET_ACTIVE_SF 0 -SF_COLOR_SCALE "C:\Users\Example\Example.xml" -C_EXPORT_FMT BIN -SAVE_CLOUDS ALL_AT_ONCE FILE "C:\Users\Example\Example\Example\Example\New folder\20211110_204859"
Any advice on what is causing this issue would be greatly appreciated.
I am using windows and Cloud Compare v2.11.3 (Anoia) [64-bit]
Regards James