Error when I create a Radiance custom material (HB+)

Hallo community and dear @mostapha, sorry if I Bother you.
I have a problem to create a custom Radiance Material with your python script for HB+.
I encountered in this error: Cannot import Radiance from Honeybee


I have the same problem, with other types of materials, likes mixfunc.
custom_radiance_material.gh (3.1 KB)

Can you please explain me, if Is a compatibily software problem and how to fix It?

Thanks and best regards

Hi @LiamRuvio,

You can use the Trans class from HB[+]. The BRTD class is not implemented in HB[+], but you can create a custom modifier using the Primitive class. Mixfunc is also not implemented, so you will have to use Primitive in that case as well using type=‘mixfunc’.

Download: custom_radiance_material.gh (6.8 KB)

1 Like

Thanks for the help mikkel