pymel.core.general.editDisplayLayerMembers

editDisplayLayerMembers(*args, **kwargs)

This command is used to query and edit membership of display layers. No equivalent ‘remove’ command is necessary since all objects must be in exactly one display layer. Removing an object from a layer can be accomplished by adding it to a different layer.

Flags:
  • fullNames : fn (bool) [query]

    (Query only.) If set then return the full DAG paths of the objects in the layer. Otherwise return just the name of the object. Flag can have multiple arguments, passed either as a tuple or a list.

  • noRecurse : nr (bool) [create,query]

    If set then only add selected objects to the display layer. Otherwise all descendants of the selected objects will also be added.

Derived from mel command maya.cmds.editDisplayLayerMembers

Previous topic

pymel.core.general.editDisplayLayerGlobals

Next topic

pymel.core.general.encodeString

Core

Core Modules

Other Modules

This Page