Hi,
I can activate or deactivate render elements but I don't know how to check if render elements is active or not.
Anybody can help ? Thanks.
Forum topic · General Scripting
Render element active or not ?
By titane357 · 2018-01-29
Forum topic · General Scripting
By titane357 · 2018-01-29
Hi,
I can activate or deactivate render elements but I don't know how to check if render elements is active or not.
Anybody can help ? Thanks.
Comments (5)
Comment policy
.
Hi Miauu, thanks for helping ! :-)
My apologies, I wasn't precise enough in my question...
In fact it is the render element MANAGER that I have in mind.
I made a check button "CELEMENTS":
---------------------------------------------------------------------
on CELEMENTS changed theState do
(
if CELEMENTS.checked==1 do
(
local reMgr = maxOps.getCurRenderElementMgr()
reMgr.SetElementsActive true
)
if CELEMENTS.checked==0 do
(
local reMgr = maxOps.getCurRenderElementMgr()
reMgr.SetElementsActive false
)
---------------------------------------------------------------------
I want to update its state checking if render element MANAGER is active or not...
Attachments
.
yesssss !!! Thank you very much, works fine ! :-)
.
I am glad to help. :)