Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

displayAffected

displayAffected is undoable, queryable, and NOT editable.

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.

Return value

int

In query mode, return type is based on queried flag.

Related

currentUnit, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle

MEL examples

// Turn on the display of affected objects
displayAffected on;

// Query whether the display of affected objects is turned on:
displayAffected -query;