Go to: Synopsis. Flags. Return value. MEL examples.
radioMenuItemCollection [-defineTemplate string] [-edit] [-exists] [-global boolean] [-parent string] [-query] [-useTemplate string]
[radioMenuItemCollectionName]
radioMenuItemCollection is undoable, queryable, and editable.
This command creates a radioMenuItemCollection. Attach radio menu
items to radio menu item collection objects to get radio button
behaviour. Radio menu item collections will be parented to the
current menu if no parent is specified with the -p/parent
flag. As children of the menu they will be deleted when the menu is
deleted. Collections may also span more than one menu if
the -g/global flag is used. In this case the collection has no
parent menu and must be explicitly deleted with the deleteUI
command when it is no longer wanted.
defineTemplate, edit, exists, global, parent, query, useTemplate
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 be used more than once in a command
|
Full path name to the collection.
window -menuBar true;
menu -label "Position";
radioMenuItemCollection;
menuItem -label "Top" -radioButton off;
menuItem -label "Middle" -radioButton off;
menuItem -label "Bottom" -radioButton on;
menu -label "Number";
radioMenuItemCollection;
menuItem -label "One" -radioButton on;
menuItem -label "Two" -radioButton off;
menuItem -label "Three" -radioButton off;
showWindow;
Return to Autodesk Index