pymel.core.general.displaySurface

displaySurface(*args, **kwargs)

This command toggles display options on the specified or active surfaces. Typically this command applies to NURBS or poly mesh surfaces and ignores other type of objects.

Flags:
  • flipNormals : flp (bool) [query]

    flip normal direction on the surface

  • twoSidedLighting : two (bool) [query]

    toggle if the surface should be considered two-sided. If it’s single-sided, drawing and rendering may use single sided lighting and back face cull to improve performance. Flag can have multiple arguments, passed either as a tuple or a list.

  • xRay : x (bool) [query]

    toggle X ray mode (make surface transparent)

Derived from mel command maya.cmds.displaySurface

Previous topic

pymel.core.general.displayStats

Next topic

pymel.core.general.distanceDimension

Core

Core Modules

Other Modules

This Page