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

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/4f46ce79-976a-41a6-ba86-838a5ac1261a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to