Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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!