Difference between Objref and RhinoObjects

Hello. Could anyone here explain to me the difference between Objref and RhinoObject. It seems to me that rhinoscriptsyntax can coerce GUID into RhinoObject, but what is the point to have Objref in the middle?

Regards,

ObjRef is a reference to a RhinoObject. It contains additional information about how that reference was made. For example if the object was picked by the mouse, then the ObjRef can tell you on what part of the object that pick happened.

ObjRef is also potentially a lot more lightweight than a RhinoObject and less likely to be shared so it won’t just change state on you behind your back.

3 Likes