mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
242 stars 93 forks source link

Event for Light Added to document #132

Closed ghost closed 11 years ago

ghost commented 11 years ago

As far as I can see, the RhinoDoc.AddRhinoObject event does not listen for light objects. Would it be possible to modify this (or if it makes more sense, to add an additional event for lights being added to the document)? Correct me if there already exists a way to listen for new lights added to the document.

dalefugier commented 11 years ago

Light object are added to the light table, which is attached to the document. Thus, there should be a LightTableEvent that you should be able to subscribe to. I'll see that this is added to the RhinoCommon wish list.

sbaer commented 11 years ago

This will be available in SR3.

ghost commented 11 years ago

Thanks for getting to this so promptly!