query "illuminate by default" light

12 views
Skip to first unread message

nishi

unread,
Aug 25, 2014, 11:12:37 AM8/25/14
to python_in...@googlegroups.com
Is it possible to query in "illuminated by default" option of light using python.


For this case ( with too many lights )

cmds.isConnected( 'aiLight_test_01:aiAreaLight2.instObjGroups[0]', 'defaultLightSet.dagSetMembers[60]' ), requires dagSetMembers[60].


How to query and get dagSetMembers[60]. ( is their a workaround ? )



For a single light , it seems to work but with many lights, it does not work.

cmds.isConnected( 'ambientLight1.instObjGroups[0]', 'defaultLightSet.dagSetMembers[0]' )



Thx,

Nish
Reply all
Reply to author
Forward
0 new messages