Hi! i have a quick question on how to change the component labeling. Is it possible to change all the component labels in my script to a single format? either to the simplified version or to the expanded version? thanks! :))
e.g.
<some instances of GH_Component>.Params.Input[0].NickName = "XXXX";
I’m not sure if you want to change it programmatically or manually.
1- Manually
2- Programmatically
You can use:
GH_Document.ConvertFullNamesToNickNames
GH_Document.ConvertNickNamesToFullNames
private void RunScript(bool DrawFullNames, ref object A)
{
if(DrawFullNames)
GrasshopperDocument.ConvertNickNamesToFullNames();
else
GrasshopperDocument.ConvertFullNamesToNickNames();
}
DisplayMode.gh (19.0 KB)
1 Like
Set it up with a timer that switches every so often and hide it on the canvas to drive your friends insane.
5 Likes
I’d also recommend a timed dark-mode/light-mode switcher
1 Like
thanks everyone! perfect! :)))