Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
attrControlGrp [-annotation string] [-attribute name] [-changeCommand script] [-enable boolean] [-handlesAttribute name] [-hideMapButton boolean] [-label string] [-preventOverride boolean]
attrControlGrp is NOT undoable, queryable, and editable.
This command creates a control of the type most appropriate for the specified
attribute, and associates the control with the attribute. Any change to the
control will cause a change in the attribute value, and any change to the
attribute value will be reflected in the control. Not all attribute types are
supported.
In query mode, return type is based on queried flag.
attribute, control
annotation, attribute, changeCommand, enable, handlesAttribute, hideMapButton, label, preventOverride
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.
|
window;
columnLayout;
attrControlGrp -attribute "defaultResolution.width";
showWindow;