I rely on custom output and input labels on most of my components as a way to clarify the information flow within the definition and make modifying and debugging, sometimes years later, much easier.
I use lots of group labels and subgroup labels as well, but I find that the output/input labels are extremely helpful as a form of code commenting within any group.
With the current version of Grasshopper this practice of applying custom labels everywhere requires lots of copying and pasting with each new wire connection.
It would be so much faster if I could use a modifier key combination when making a wire connection which would automatically bring the output label over to the input label Iām connecting to. For example, holding Shift + Alt while making a new wire connection would copy the output label to the input label of the component Iām connecting to.
I donāt know if anyone else uses custom labeling in this way, but it has definitely saved me loads of time when returning to a definition to add to it months or years later.
Leo
2 Likes
I added this as a toggle while creating new wires (note: it doesnāt work for moving existing wires). Itās always off by default (but I can easily make it sticky) but pressing the Alt key will toggle between regular and copyname mode. In copyname mode the dashed wire is drawn in crimson rather than the usual black.
Presumably this will be available next Tuesday when the WIP goes out.
5 Likes
Fantastic!
Thanks so much David. This will make a huge difference to my workflow.

This is working very well and is extremely convenient!
One minor glitch: the arrowheads on connecting wires are always facing to the left now, no matter which direction Iām dragging in - output to input or input to output.
This should now be fixed in next weekās WIP release.
1 Like
Thanks again for this functionality David, itās working beautifully and this is a huge help for ease of use and clarity of data flow through GH definitions.
Iām so happy with this that Iād like to add another wishlist item: to extend this functionality to the inputs of the Merge component.
The copyname mode is almost working for Merge inputs already, except that they disappear when the last wire is added which triggers the adding of an additional input to that Merge instance.
Itās almost like a puzzle game trying to get the copynames to work with Merge inputs: custom labels problem.gh (4.5 KB)
Also the Merge custom input names disappear when the .gh document is closed and then opened again.
I also would love it if I could apply custom labels to the outputs of List Item components! But Iāll be glad for any further implementation of this super cool functionality.
1 Like
Bumping this topic years laterā¦
Please can this fantastic workflow function be added to GH1 on Mac?

2 Likes
I wish I had known about this enhancement years ago. Great feature!
I see another āglitchā though - if an output is renamed (again), the change doesnāt propagate to the designated input(s).
1 Like
No indeed but what a fantastic idea for a new feature. Letās request it!
Iāll start a new threadā¦
Seems more like an implementation detail rather than a new feature? This practice is like choosing self-explanatory identifiers for variable names in conventional programming, which goes a long way.
2 Likes
Yes thatās exactly why I do it too.