pymel.core.general.displayCull

displayCull(*args, **kwargs)

This command is responsible for setting the display culling property of back faces of surfaces. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
backFaceCulling / bfc bool ../../../_images/create.gif ../../../_images/query.gif
  Enable/disable culling of back faces. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.displayCull

Example:

import pymel.core as pm

pm.displayCull( bfc=True )
pm.displayCull( bfc=False )
pm.displayCull( q=True, bfc=True )
# Returns 0 if the back-face-culling on the selected object is false.
# Returns 1 if the back-face-culling on the selected object is true.