Go to: Synopsis. Flags. Return value. Python examples.
iconTextRadioCollection(
[clusterName]
, [collectionItemArray=boolean], [disableCommands=boolean], [gl=boolean], [numberOfCollectionItems=boolean], [parent=string], [select=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
iconTextRadioCollection is undoable, queryable, and editable.
This command creates a cluster for iconTextRadioButtons. Clusters
will be parented to the current default layout if no parent is
specified with the -p/parent flag. As children of the layout they will
be deleted when the layout is deleted. Clusters may also span more
than one window if the -g/global flag is used. In this case the
cluster has no parent so must be explicitly deleted with
the 'deleteUI' command.
collectionItemArray, disableCommands, gl, numberOfCollectionItems, parent, select
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
The name of the iconTextRadioCollection created, or the queried value.
import maya.cmds as cmds
cmds.window( tlc=(100, 400) )
cmds.columnLayout( adj=True )
cmds.iconTextRadioCollection( 'itRadCollection' )
cmds.iconTextRadioButton( st='textOnly', i1='sphere.xpm', l='sphere' )
cmds.iconTextRadioButton( st='iconOnly', i1='spotlight.xpm', l='spotlight' )
cmds.iconTextRadioButton( st='iconAndTextHorizontal', i1='cone.xpm', l='cone' )
cmds.iconTextRadioButton( st='iconAndTextVertical', i1='cube.xpm', l='cube' )
cmds.showWindow()
Return to Autodesk Index