pymel.core.rendering.lightList

lightList(*args, **kwargs)

Add/Remove a relationship between an object and the current light. Soon to be replaced by the connect-attribute command. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
add (add) PyNode ../../../_images/create.gif
 
add object(s) to light list.
remove (rm) PyNode ../../../_images/create.gif
 
remove object(s) to light list. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.lightList

Example:

import pymel.core as pm

pm.lightList( add='foo' )

Previous topic

pymel.core.rendering.layeredTexturePort

Next topic

pymel.core.rendering.lightlink

Core

Core Modules

Other Modules

This Page