This command is used to toggle the What’s New highlighting feature, and the display of the settings dialog for the feature that appears on startup. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
highlightColor (hc) | float, float, float | ||
Set the color of the What’s New highlight. The arguments correspond to the red, green, and blue color components. Each color component ranges in value from 0.0 to 1.0. |
|||
highlightOn (ho) | bool | ||
|
|||
showStartupDialog (ssd) | bool | ||
Set whether the settings dialog for this feature appears on startup.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.whatsNewHighlight
Example:
import pymel.core as pm
# Turn on What's New highlighting if not already on.
#
if not pm.whatsNewHighlight(query=True, highlightOn=True):
pm.whatsNewHighlight(highlightOn=True)
# Turn off What's New highlighting startup dialog if it is set to appear.
#
if pm.whatsNewHighlight(query=True, showStartupDialog=True):
pm.whatsNewHighlight(showStartupDialog=False)