Hi there,
I’m an A-Level student just trying to teach myself how to program stuff in Maya before I go to university next year 
I was just wondering, very quickly, how you attach a command, such as cmds.select( all=True), to a certain radio button?
cmds.columnLayout()
cmds.frameLayout( label=‘Export:’ )
collection1 = cmds.radioCollection()
rb1 = cmds.radioButton( label=‘Selected’ )
rb2 = cmds.radioButton( label=‘All’ )
cmds.radioCollection( collection1, edit=True, select=rb1 )
cmds.setParent(main_col)
So, for the second button, “All”, I would like it to select all of my objects in a scene.