Area Light Camera Visibility Does Not Work Via Python
Posted: Mon Jul 01, 2024 2:46 pm
Hi,
If you change an Octane mesh lights' visibility via python, it does not work.
Tested under the custom Octane Blender build: v2023.1.3.28.15
Python command:
I'd expect that to turn the light off and on when toggled like it does when you click on the checkbox in the GUI.
Note that via python you will not see the GUI change until you click off and back on to the object properties tab.
Cheers,
Simon.
If you change an Octane mesh lights' visibility via python, it does not work.
Tested under the custom Octane Blender build: v2023.1.3.28.15
Python command:
Code: Select all
bpy.data.objects["My Light"].octane.camera_visibility = False
Note that via python you will not see the GUI change until you click off and back on to the object properties tab.
Cheers,
Simon.