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 ?

Would it be too hard to adapt the DimArea command for a DimName command like I described here?

this Grasshopper Player script and those scripts on this other subject are not working properly on paper space.

Also posted in that other thread, that request is on the list as RH-84789 Annotation: Object Name Request
-wim