EyeonTips:Script/Reference/Applications/Fusion/Classes/Input
From VFXPedia
- To read the value of an input, you have two possibilities.
# python # array named after the INPS_ID attribute of the desired input and indexed by frame number x = myTool.Blend[comp.CurrentTime] # GetInput function x = myTool.GetInput("Blend")
- Inputs have data members called ID and Name which are a shortcuts to the INPS_ID and INPS_Name attributes:
-- "Center" print(Transform1.Center:GetAttrs().INPS_ID) print(Transform1.Center.ID) -- "Pivot" print(Transform1:GetInputList()[33].Name)