pymel.core.general.displayAffected¶
- displayAffected(*args, **kwargs)¶
Turns on/off the special coloring of objects that are affected by the objects that are currently in the selection list. If one of the curves in a loft were selected and this feature were turned on, then the lofted surface would be highlighted because it is affected by the loft curve.
Derived from mel command maya.cmds.displayAffected
Example:
import pymel.core as pm # Turn on the display of affected objects pm.displayAffected( True ) # Query whether the display of affected objects is turned on: pm.displayAffected( query=True )