Closed ghost closed 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.
This will be available in SR3.
Thanks for getting to this so promptly!
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.