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 | ![]() |
|
|
|||
remove / rm | PyNode | ![]() |
|
|
Derived from mel command maya.cmds.lightList
Example:
import pymel.core as pm
pm.lightList( add='foo' )