How to remove component names?

What can cause the display of the names of the components in the Grasshopper viewport? I do tried to use Bifocals but it is working quite bad. I do need to delete the Bifocal component from canvas to see the effect and each time I open a definition the names are there. paste the Bifocal, delete the Bifocal to get rid of that names. Maybe there is a better way to get rid of the names?

These are invisible groups. Select and ungroup should do it.

No, they are not groups. And happens in all my definitions. Only pasting and deleting Bifocals in the active definition is solving the issue until I do open or reopen a definition. Then the labels are back again.

I don’t have bifocals but I’ve opened enough definitions which looked just like that.

group-with-fully-transparent-background.gh (2.3 KB)

Definitely they are all ungrouped. I do have only the Group option if I do select the components and right-click on the Grasshopper canvas.

Why don’t you share a file?

This is how this looks on my canvas. I checked all the options and settings and I can’t find why I do have this labels appearing out of the sudden. The only way to get rid of them is to paste a Bifocals component and delete the Bifocals after I do paste-it into canvas!

Components names_labels.gh (14.5 KB)

I don’t use Bifocals. My mouse pointer is halfaway between the name tag and the component

I can select all components and then click ‘Edit’, ‘Ungroup’ and all the names disappear

I don’t understand why they are grouped and how do they get grouped? I try to replicate the ungrouping on my side but I can’t figure-out how this invisible groups are working.

I think Bifocals creates the groups.

If you right click between a component and the name tag, you can access color…

Ok, looks like this works. Now the question is how to click between the name label and component a gazillion times and press Ungroup?

You select all and then Edit, Ungroup

Ok, works, but that also ungroups all my created groups. It is there a way to select only the “hidden” groups through a script or something? How I can block the creation of new “hidden” groups?

You might be able to do that with Metahopper.

It would likely have to be a selection by color.

Blocking the creation of new hidden groups… I think you need to get rid of Bifocals?

I do installed Bifocals after I do get all this labels to get rid of the components name labels. I don’t understand what generate them?

Bifocals generates the labels by wrapping each individual Grasshopper component in a transparent group named as the component’s name. These added groups remain in the definition, even to someone who hasn’t installed the plugin.

Unless you have Bifocals installed, getting rid of them might be quite pesky. You can go for @martinsiegrist’s suggestion, but, as you say, if you already have other groups in the definition, this might not work for your case.

Here’s a simple scripted component that removes only transparent groups (whether they were generated by Bifocals or not):

de-bifocalize.gh (14.1 KB)
de-Bifocalize
If you need to show component names, I suggest using Sunglasses (another plugin), faster, less invasive and does not affect the gh file.

I am using Rhinoceros v7 and this is not running on my system. The biggest issue still is the fact that I don’t know what generates them in the first place.

Here’s a Rhino7 version:
de-bifocalize_v7.gh (9.2 KB)

If you’re sure it’s not Bifocals, then it might be on of the other plugins you have installed; for instance, there are many icons in your view bar that come from other plugins I am not familiar with. Could it be one of those?

Thank you. This works partially, looks more like a temporary solution to make the canvas more readable but how I can find what generates this issue in the first place, because this issue has appeared out of the blue. ChatGPT says that it is a listener that checks the canvas periodically and it is applying the labels as soon as I drop a new component into the canvas.

Are you sure you have Bifocals uninstalled?