Iteratively saving every glareCheckImage hdr file for multiple runs

Hello Everyone,

I’m running a sort of optimization for glare using Honeybee_Glare Analysis. I used Colibri/ Design Explorer to iterate over parameters and record all DGP results.

I would like to save every hdr image generated for each new solution while Colibri is iterating over all the parameter combinations. Any idea how this can be done?

Thank you
Have a nice day

Colibri itself has an option to save images. Check it.

-A.

Yes, sure but it saves images rather screenshots based on the Rhino viewport.

harsh

Ahhh,
You want to save the HDR itself.
What i would do is change the name of each case as a function of the parameters you run. Then you can get all HDRs. Though, they will be located in different folders.

-A.

1 Like

Yes exactly, I wanted to save the HDR files itself.
True, makes sense what you suggested. I tried that, it works. Its just there gonna be hundreds of folders and then I have to collect the hdr image from each manually :grimacing:

Harsh

If you code a bit, you can move the files automatically to a desired location, while running each case.
-A.

Like so (see attached).
-A.
CopyFile2Folder.gh (8.9 KB)

3 Likes

Thank you for this Abraham.
I tried using your script and it works!

Thank you again!