CLI tutorial checking for rgb values

For user feedback or tutorials
Post Reply
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

CLI tutorial checking for rgb values

Post by Charlesw »

I have a cloud for which I need to first check if rgb values exist already, if they do, perform some actions. If they do not, then convert scalar field 0 to rgb and then perform some actions. How can this be achieved using the command line as this needs to run in a script..?

I have most of this workign with the exception of the conditional portion for when rgb value already exist on import as I do not see a way to provide a conditional statement in the CLI execution
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CLI tutorial checking for rgb values

Post by daniel »

You are right this is not possible yet. But I guess it wouldn't be too difficult to add this feature (if you have some C++ development skills of course)?
Daniel, CloudCompare admin
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: CLI tutorial checking for rgb values

Post by Charlesw »

I might head this route as i do have the ability to alter the C++.
Thank you. I will begin to build CC on my new machine and hopefully not encounter all the errors on my end that I had last time through xP
Post Reply