Is there a way to make the leader capture the object name automatically?

Hello,

I was wondering if there is way for me to make the leader capture the object name automatically, the leader already has History, so it is capturing the object it is attached to in some way, can I use that to get the object name instead of having to click on Fx β†’ Object Name β†’ Select the same object again?

Thanks

Hi Altamiro -

There are no out-of-the-box commands for this but is something that can be scripted.
Here’s a very simple Grasshopper definition that first asks for 3 points for the leader and then an object with a name. It’s set-up to be run with the Rhino GrasshopperPlayer command.

GHPlayer - Leader with object name.gh (5.1 KB)

-wim

4 Likes

Thanks for the workaround, it should be enough for now.

Could we have object name as a dimension call, similar to how we have the Volume and Area dimensions? Could that be made with C# maybe ?