Load multiple .idf into HB component

Hi all,

Forgive me if this is addressed somewhere else. I would like to load around 120,000 .idf files from a directory and about 50,000 .idf files from another directory into the same .gh using the HB LoadEModel component. How do I do that? I created some .txt files with the list to all .idf paths. Could I load that into a panel frame on .gh then input to _model_file? Either way, I still need to know how to bring in the .txt to the .gh workspace.

Thank you in advance for any advice.

Yes, that’s the way to do it. Just copy/paste all of those IDF file paths into a panel. Then, you can load them all to Honeybee models with the HB Load gbXML OSM IDF component. Then, if you want to save the honeybee models for later use, you can write them out to HBJSON file using the HB Dump Objects component.

1 Like