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

Synopsis

displayLevelOfDetail [-levelOfDetail boolean]

displayLevelOfDetail is undoable, queryable, and NOT editable.

This command is responsible for setting the display level-of-detail for edit refreshes. If enabled, objects will draw with lower detail based on their distance from the camera. When disabled objects will display at full resolution at all times. This is not an undoable command

Return value

None

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

Related

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

Flags

levelOfDetail
Long name (short name) Argument types Properties
-levelOfDetail(-lod) boolean
Enable/disable level of detail.

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 be used more than once in a command.

MEL examples

displayLevelOfDetail -lod true;
displayLevelOfDetail -lod false;
displayLevelOfDetail -q -lod;
// Returns 0 if the level-of-detail display is false.
// Returns 1 if the level-of-detail display is true.