pymel.core.system.whatsNewHighlight

whatsNewHighlight(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
highlightColor (hc) float, float, float ../../../_images/create.gif ../../../_images/query.gif
 

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 ../../../_images/create.gif ../../../_images/query.gif
 
Toggle the What’s New highlighting feature. When turned on, menu items and buttons introduced in the latest version will be highlighted.
showStartupDialog (ssd) bool ../../../_images/create.gif ../../../_images/query.gif
 

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)

Previous topic

pymel.core.system.warning

Next topic

pymel.core.system.FileInfo

Core

Core Modules

Other Modules

This Page