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.
(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.
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