pymel.core.uitypes.AttrControlGrp

Inheritance diagram of AttrControlGrp

class AttrControlGrp

class counterpart of mel function attrControlGrp

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.

getAnnotation(**kwargs)

Sets or queries the annotation value of the control group.

Derived from mel command maya.cmds.attrControlGrp

getAttribute(**kwargs)

Sets or queries the attribute the control represents. The name of the attribute must be fully specified, including the name of the node. Some types of attributes are not supported, but most commonly used attribute types are.

Derived from mel command maya.cmds.attrControlGrp

getChangeCommand(**kwargs)

Sets or queries the change command of the control group. The change command will be executed when the control is used to change the value of the attribute.

Derived from mel command maya.cmds.attrControlGrp

getEnable(**kwargs)

Sets or queries the enable state of the control group. The control is dimmed if the enable state is set to false.

Derived from mel command maya.cmds.attrControlGrp

getHandlesAttribute(**kwargs)

Returns true or false as to whether this command can create a control for the specified attribute. Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.attrControlGrp

getHideMapButton(**kwargs)

Force the map button to remain hidden for this control.

Derived from mel command maya.cmds.attrControlGrp

getLabel(**kwargs)

Sets or queries the label of the control group.

Derived from mel command maya.cmds.attrControlGrp

getPreventOverride(**kwargs)

Sets or queries the prevent adjustment state of the control group. If true, the RMB menu for the control will not allow adjustments to be made.

Derived from mel command maya.cmds.attrControlGrp

setAnnotation(val=True, **kwargs)

Sets or queries the annotation value of the control group.

Derived from mel command maya.cmds.attrControlGrp

setAttribute(val=True, **kwargs)

Sets or queries the attribute the control represents. The name of the attribute must be fully specified, including the name of the node. Some types of attributes are not supported, but most commonly used attribute types are.

Derived from mel command maya.cmds.attrControlGrp

setChangeCommand(val=True, **kwargs)

Sets or queries the change command of the control group. The change command will be executed when the control is used to change the value of the attribute.

Derived from mel command maya.cmds.attrControlGrp

setEnable(val=True, **kwargs)

Sets or queries the enable state of the control group. The control is dimmed if the enable state is set to false.

Derived from mel command maya.cmds.attrControlGrp

setHandlesAttribute(val=True, **kwargs)

Returns true or false as to whether this command can create a control for the specified attribute. Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.attrControlGrp

setHideMapButton(val=True, **kwargs)

Force the map button to remain hidden for this control.

Derived from mel command maya.cmds.attrControlGrp

setLabel(val=True, **kwargs)

Sets or queries the label of the control group.

Derived from mel command maya.cmds.attrControlGrp

setPreventOverride(val=True, **kwargs)

Sets or queries the prevent adjustment state of the control group. If true, the RMB menu for the control will not allow adjustments to be made.

Derived from mel command maya.cmds.attrControlGrp

Previous topic

pymel.core.uitypes.AttrColorSliderGrp

Next topic

pymel.core.uitypes.AttrEnumOptionMenu

Core

Core Modules

Other Modules

This Page