HHbomb wrote:Hi,
" The Octane Object properties are properties linked to 3dsMax Nodes, and can be accessed with the standard getUserProp and setUserProp " neonZorglub » Mon Nov 21, 2022 10:14 pm
Why " visibility " don't appear in Object properties > User defined ?
How can we change with maxscript visibility value ? ( in fact how to set and to get value ? )
Because it is node dependant, and a quad light cast self shadow, I would like to change the value without opening Octane properties window.
Thanks !
Hi HHbomb,
Visibility is part of the standard 3dsmax object's properties.
I added it in the Octane Object properties for convenience.
You can change it with maxscript like that:
$Plane01.visibility = false -- will set 0.0
$Plane01.visibility = true -- will set 1.0
$Plane01.visibility.controller.value = 0.6
for some other properties:
$Plane01.renderable = false
$Plane01.renderable = true
hide $Plane01
unhide $Plane01
Note that while rendering in Octane Viewport, some changes won't be detected, so you may need to press the 'Update render geometry' button..
Also, you can show / hide those 3dsmax properties with the option in the context menu "Show 3dsMax object properties (Renderable, Visibilitie, Cast shadows...)"
Thanks