Refine Daylight Analysis error message: exportTypeFile() takes exactly 4 arguments (3 given)

When trying to run the RefineDaylightAnalysis component, I get the following error message:
“1. Solution exception:exportTypeFile() takes exactly 4 arguments (3 given)”

Can you check whether you have the same issue? Here’s the gh script i used (543.6 KB)

There is a bug indeed with the refineDaylightAnalysis component.
You can solve the issue If you edit it until the source is fixed.
See image:

@mostapha and @chris FYI.

1 Like

Thanks @AbrahamYezioro, that was indeed the issue. The edit on line 164 fixes it. Much appreciated!

Hi everyone,

I’m having the same issue but when I run my simulation on another computer it worked. Does anyone know what can be wrong on the script or on my computer ?


Hi alize,
when I last saw this error message, I remember the solution was to re-install HB[+].

I have the same issue it worked fine at first then when I tried the same definition today that came out … reinstalled honeybee plus but same error … wish to have some help here

I found this & worked great Error in Running in Radiance Analysis on HB[+]