pymel.core.general.displayLevelOfDetail

displayLevelOfDetail(*args, **kwargs)

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 In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
levelOfDetail (lod) bool  
 
Enable/disable level of detail.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.displayLevelOfDetail

Example:

import pymel.core as pm

pm.displayLevelOfDetail( lod=True )
pm.displayLevelOfDetail( lod=False )
pm.displayLevelOfDetail( q=True, lod=True )
# Returns 0 if the level-of-detail display is false.
# Returns 1 if the level-of-detail display is true.

Previous topic

pymel.core.general.displayCull

Next topic

pymel.core.general.displayPref

Core

Core Modules

Other Modules

This Page