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.
|Long name (short name)||Argument Types||Properties|
Derived from mel command maya.cmds.lightList
import pymel.core as pm pm.lightList( add='foo' )