Go to: Synopsis. Return value. Flags. Python examples.
whatsNewHighlight([highlightColor=[float, float, float]], [highlightOn=boolean], [showStartupDialog=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
whatsNewHighlight is undoable, queryable, and NOT editable.
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.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
highlightColor(hc)
|
[float, float, float]
|
|||
|
||||
highlightOn(ho)
|
boolean
|
|||
|
||||
showStartupDialog(ssd)
|
boolean
|
|||
|
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. |
import maya.cmds as cmds # Turn on What's New highlighting if not already on. # if not cmds.whatsNewHighlight(query=True, highlightOn=True): cmds.whatsNewHighlight(highlightOn=True) # Turn off What's New highlighting startup dialog if it is set to appear. # if cmds.whatsNewHighlight(query=True, showStartupDialog=True): cmds.whatsNewHighlight(showStartupDialog=False)