Get component name assigned by recipient input name

Hello,

how can I get the name of a component that is assigned when connected as input for another component?

import rhinoscriptsyntax as rs
import Grasshopper as gh

ghObjects = ghenv.Component.OnPingDocument().Objects
for obj in ghObjects:
    if type(obj)==gh.Kernel.Special.GH_Group and obj.NickName.startswith("RH_PARAM:"):
        ids = obj.ObjectIDs
        for i in ids:
            for o in ghObjects:
                if o.InstanceGuid == i:
                    print(o.Name)
                    print(o.NickName)
                    print(o.CurrentValue)
                    print(o.Recipients)


For the decipted example the question is how the get the name “A” for the number slider, if possible.

nickname.gh (3.9 KB)

here’s how to crawl through inputs

1 Like