BeforeTransformObjects: the argument e.Objects is always null

Hi everyone,

I have been using the event BeforeTransformObjects, and tried to retrieve the objects from it within the function below.
I noticed that e.ObjectCount returns the right amount of objects that have been moved, however, e.Objects is always null. Am I doing something wrong? Seems like a bug to me.

Paul

@PaulPoinet, it is a bug in Rhino 5 which has been fixed in Rhino 6. You might work around it by getting the selected objects using GetSelectedObjects.

_
c.

1 Like

thanks, good to know!