Select Last Created Grasshopper

Hello, is it possible to select the last created/baked object in grasshopper?
I need to reference a baked object, in the same script.
Is there a way of automating this with grasshopper, so I don’t have to bake, then select the geometry in the rhino workspace, before finally referencing it?

Requires Elefront and for you to uncheck the Disable AutoUpdate in the ref by bakename.


Re_bake_ref.gh (11.1 KB)

1 Like

1 Like

Great!, I am yet to try it out yet though

It works like Magic, Thank you very much