The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
get toggle state of BitmapButton
-
On 01/09/2017 at 07:16, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;---------
Hello.I have a description bitmap button with
container.SetBool(BITMAPBUTTON_TOGGLE, true);I use the following to get the parameter.
(BitmapButtonStruct* )data->GetCustomDataType(CUSTOMDATATYPE_BITMAPBUTTON, BUTTON_ID);But how can I get the toggle state ?
Thank you for your time.
-
On 04/09/2017 at 08:18, xxxxxxxx wrote:
Hi,
unfortunately the toggle state is handled internally inside of the CustomGUI (not the CustomDataType), so there's no way to access it. You need to track it on your own in reaction to button presses.
Sorry!