RhinoDoc.SelectObjects selects separately

Hi everyone,

I was wondering why RhinoDoc.SelectObjects event handler triggers each time when I use something like below;

IEnumerable<Guid> guidsWillBeSelected = //.....

It does not make sense to me even if I am putting enumerable as argument, I was expected event will be triggers just once.

Am I missing something?


Hi @oguzhankoral,

No, you are not missing anything. This is just how the selection event works.

– Dale

Hi @dale,

But when I select multiple objects from document with mouse, they are coming together as a collection. What is the difference between RhinoDoc.ActiveDoc.Select(guids) method and manual selecting then?