I try to grasp why some functions require / return RhinoObjects and some ObjRef.
ObjectTable.GetSelectedObjects() returns a
IEnumerable<RhinoObject>, but then again i need:
ObjectTable.Select(ObjRef) to select them back…
Is there a fast way to cast this?
ObjectTable.Find methods return a RhinoObject - where to get the ObjRef? Or is it just used in User picking?
And last question - i read here that ObjRef is lighter than a RhinoObject, but both are just references to the RhinoDoc, as i cannot construct a RhinoObject from code… what makes them (potentially) lighter?