Page 1 of 1
Command line autosave overwrite
Posted: Fri Oct 18, 2019 9:41 am
by TDJ
I am running the M3C2 plugin on the same clouds with different settings through command line, but each output overwrites the last. Is there a way to stop autosaved clouds with the same name being overwritten?
Re: Command line autosave overwrite
Posted: Fri Oct 18, 2019 7:53 pm
by daniel
You can disable auto-saving (-AUTO_SAVE {ON/OFF}) and specify your own output filename (-SAVE_CLOUDS FILE "file1.xxx file2.yyy ...").
See
https://www.cloudcompare.org/doc/wiki/i ... _line_mode
Re: Command line autosave overwrite
Posted: Mon Oct 21, 2019 9:30 am
by TDJ
I did try this and couldn't get it to work. I also don't want to save all open clouds, just the output, otherwise I would have to save a new copy of my raw clouds with each new output, taking time and space. With my novice level it would be useful to not overwrite files by default, to auto save each new output as file1_M3C2.bin, file1_M3C2(01).bin file1_M3C2(02).bin etc then I could rename them all at the end. Perhaps there is no need for this as I imagine there is a better solution for those who can write command line code better.
Re: Command line autosave overwrite
Posted: Mon Oct 21, 2019 8:19 pm
by daniel
Then I guess the only solution for you is to generate the files in a different folder? (just call the command from this folder).