I would like to export information about all the lights in my model. This is where I have gotten so far, am I on the right track? How do I get the individual lights?
CRhinoLightTable& light_table = doc.m_light_table;
if (light_table.LightCount() > 0)
for(int light_index = 0; light_index < doc.m_light_table.LightCount(); light_index++)
const CRhinoLight aLight = ???;