Remove textures from material
Posted: Tue Jan 25, 2022 11:41 am
Hi.
I try to remove all maps to octane diffuse materials. I succeed for some slots :
-----------------------------------------------------
OCD = getclassinstances Diffuse_material
for mat in OCD do
(
mat.transmission_input_type = 3 --none
)
-----------------------------------------------------
but I can't manage to remove displacement or emission slot.
with : mat.displacement = undefined I get error. (???)
Thanks.
I try to remove all maps to octane diffuse materials. I succeed for some slots :
-----------------------------------------------------
OCD = getclassinstances Diffuse_material
for mat in OCD do
(
mat.transmission_input_type = 3 --none
)
-----------------------------------------------------
but I can't manage to remove displacement or emission slot.
with : mat.displacement = undefined I get error. (???)
Thanks.