[SOLVED] Load commands from file
Posted: Wed Dec 13, 2023 4:44 pm
Hello Daniel
Here is another issue i'm strugling a little bit and i would go for it and might do something about it, because our process flow would require so much rewrite without it.
So my main issue i've run out of command line arguments.
The easiest way would probably be a list of file to open because that is what taking the majority of the arguments. (Or it might be possible to create an alternative command parser to allow load commands from text file)
I was thinking about to do it inside the -O function, but i don't want any breaking changes, so i think it is probably better to do a new command for that.
For example
-OPEN_LIST_OF_FILE "path_to_a_list.txt"
And i would expect every new line a new cloud. And support the same command arguments as in the normal -O function
Example file:
-O GLOBAL_SHIFT AUTO "file"
-O GLOBAL_SHIFT FIRST "file2"
-O -SKIP 10 GLOBAL_SHIFT 100 100 0 "file"
Do you have something what can cause issues later or ideas for this kind of functionality or know a way to get around command line argument overflow? Because that would be the easiest solution i suppose if it is possible somehow.
What i also came across with the new version las/laz loader in silent mode it creates gui element during load, little bit annoying, but not that much.
Here is another issue i'm strugling a little bit and i would go for it and might do something about it, because our process flow would require so much rewrite without it.
So my main issue i've run out of command line arguments.
The easiest way would probably be a list of file to open because that is what taking the majority of the arguments. (Or it might be possible to create an alternative command parser to allow load commands from text file)
I was thinking about to do it inside the -O function, but i don't want any breaking changes, so i think it is probably better to do a new command for that.
For example
-OPEN_LIST_OF_FILE "path_to_a_list.txt"
And i would expect every new line a new cloud. And support the same command arguments as in the normal -O function
Example file:
-O GLOBAL_SHIFT AUTO "file"
-O GLOBAL_SHIFT FIRST "file2"
-O -SKIP 10 GLOBAL_SHIFT 100 100 0 "file"
Do you have something what can cause issues later or ideas for this kind of functionality or know a way to get around command line argument overflow? Because that would be the easiest solution i suppose if it is possible somehow.
What i also came across with the new version las/laz loader in silent mode it creates gui element during load, little bit annoying, but not that much.