pymel.core.general.editDisplayLayerGlobals

editDisplayLayerGlobals(*args, **kwargs)

Edit the parameter values common to all display layers. Some of these paremeters, eg. baseId and mergeType, are stored as preferences and some, eg. currentDisplayLayer, are stored in the file.

Flags:
  • baseId : bi (int) [create,query]

    Set base layer ID. This is the number at which new layers start searching for a unique ID.

  • currentDisplayLayer : cdl (PyNode) [create,query]

    Set current display layer; ie. the one that all new objects are added to.

  • mergeType : mt (int) [create,query]

    Set file import merge type. Valid values are 0, none, 1, by number, and 2, by name. Flag can have multiple arguments, passed either as a tuple or a list.

  • useCurrent : uc (bool) [create,query]

    Set whether or not to enable usage of the current display layer as the destination for all new nodes.

Derived from mel command maya.cmds.editDisplayLayerGlobals

Previous topic

pymel.core.general.duplicate

Next topic

pymel.core.general.editDisplayLayerMembers

Core

Core Modules

Other Modules

This Page