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

MAXON SDK Specialist
developers.maxon.net

@ferdinand Thanks for your help!

相信我,可以的!