SOLVED Create Quicktab Radio Buttons

H

I'm trying to add a user data to an object. Currently, what I have is

  1. Data Type: Interface
  2. Interface: Cycle.

I want to change the interface to the Quicktab Radio but I am having a problem in accessing it through the API. Under the C4D description documentation, there is no "Quick Tab Radio" option. You can see what I am after here:
https://www.dropbox.com/s/k5xt7f6rrthiadl/c4d118_quick_tab_radio_python.png?dl=0

I can't also drag the interface parameter to the console. So I can't retrieve the ID number 😞

I tried the c4d.CUSTOMGUI_QUICKTABRADIO from this thread but the code doesn't recognize such ID

Is there a way around this?

Thank you for looking at the problem

You can see the current code below:

import c4d

def main():
    
    bc = c4d.GetCustomDataTypeDefault(c4d.DTYPE_LONG)
    bc[c4d.DESC_NAME] = "Visibility"
    bc[c4d.DESC_CUSTOMGUI]=c4d.CUSTOMGUI_CYCLE # Change this to Quicktab Radio. I also tried c4d.CUSTOMGUI_QUICKTABRADIO but it didn't worked. 
    
    dropdown_values = c4d.BaseContainer()
    
    dropdown_values[0]="Off"
    dropdown_values[1]="On"
    
    bc[c4d.DESC_CYCLE]=dropdown_values
    
    descID = op.AddUserData(bc)     
    
    c4d.EventAdd()

# Execute main()
if __name__=='__main__':
    main()
This post is deleted!

Hello,

for this custom GUI, there is no symbol representing its ID. The ID is 200000281.

See also objectdata_descriptions.cpp.

best wishes,
Sebastian

@s_bach

Thank you. Works as expected.