Cannot read HBJSON model file in GH created with python scripting: Solution exception: expected index value, got str

Hello,
I am creating an HBJSON file by python scripting outside GH. Everything looks fine to my eyes, but when I try to load the file into GH using the HB Load Objects module, it fails with the error:
Solution exception: expected index value, got str

I am not sure where or why this is happening.

Can you please let me know if you can spot the error in the following hbjson file? Thanks

TopologicBuilding.hbjson

Please ignore. I was outputting a list. Solved.

1 Like

Glad that you solved this one, @wassimj . You can see that I gave you an exhaustive list of the honeybee-schema resources that we have here:

Hopefully, those will help you solve issues like this more quickly in the future.

1 Like