On 01/07/2015 at 21:34, xxxxxxxx wrote:
I'm just curious...
How does one set the "tristate" state of a bitmap boolean control?
C4D's user data lists these under the bitmap bool configuration for user data (BITMAPBOOL_ACTIVE, BITMAPBOOL_INACTIVE, and BITMAPBOOL_TRISTATE). Likewise, the "BOOL" description accepts a CUSTOMGUI type of BITMAP_BOOL under which you can specify the same options and IDs for custom icons to show up in the GUI...
However, I have no idea what "TRISTATE" actually means or how you set it in Python. True and False obviously map to 1 and 0, but False can also be "None" as well. Setting the bool value to -1, 2, or any other integer seems to have no effect.
What exactly is tristate and is it settable through Python?
-CMPX