SOLVED how to get active viewport effect open/close state

Hi
i want to use python to get active viewport effect open/close state.
未标题-1.png
Thanks for any help!

i find it in dbasedraw.h
it work, example:

bd[c4d.BASEDRAW_DATA_HQ_REFLECTIONS] = True

i find it in dbasedraw.h
it work, example:

bd[c4d.BASEDRAW_DATA_HQ_REFLECTIONS] = True

Hello @chuanzhen,

thank you for reaching out to us. It is good to see that you found a solution yourself and thank you for sharing your solution. In case future readers stumble upon this, here is a bit more extensive posting which leads up to the point where @chuanzhen was, already having a BaseDraw instance to write parameter values to.

Cheers,
Ferdinand

@ferdinand Thanks for your help!