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:

    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()
        descID = op.AddUserData(bc)     
    # Execute main()
    if __name__=='__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,

  • @s_bach

    Thank you. Works as expected.

Log in to reply