Everything related to SDK.
Trying to assign r2 values in a layer. Found the function setFresnelCustom but I get a script error when trying to use it.

My code is

# Add new layer to material.
layer = material1.addLayer();
# Add new BSDF to layer.
bsdf = layer.addBSDF();
#set r2 values
bsdf.setFresnelCustom(75.00, 40.00, True );

but I get the error:

AttributeError: 'Cbsdf' object has no attribute 'setFresnelCustom'

What is the correct way to set r2 values?

I think that most features that are needed on a re[…]

Maxwell keeps returning an error when I try to ren[…]

Hello good day! I wanted to know if you can help[…]

I chose a new default folder location for the Maxw[…]