EyeonTips:Script/Reference/Applications/Fusion/Classes/Operator/FindMainInput
From VFXPedia
Loop through all main inputs. LUA:
tool = comp.ActiveTool i = 1 while true do inp = (tool:FindMainInput(i)) if inp == nil then break end -- Got input print (inp:GetAttrs().INPS_Name) i = i + 1 end
PYTHON:
tool = comp.ActiveTool i = 1 while True: inp = tool.FindMainInput(i) if inp is None: break # Got input print(inp.GetAttrs()["INPS_Name"]) i+=1