How to use the legend output from visibility percent

From the visibility percent component’s legend output I get a list of these: IronPython.NewTypes.Grasshopper.Kernel.Types.GH_GeometricGoo`1#IGH_BakeAwareData#IGH_PreviewData_
Can I somehow extract the legend text from this?

Hi @guido ,

You can cast the legend text objects to real text strings by passing them through a native Grasshopper Text parameter component like so: