For any Input, you can just mouseover it in the UI, and the ID will be displayed in the status bar in the lower left corner of the window. Another way is to add a simple expression to the parameter and then click the + button, which will load that Input's name into the expression.
If you want to query a tool for all its inputs (including some that may not be visible in the UI), I like this snippet:
- Code: Select all
for i, inp in ipairs(tool:GetInputList()) do print(i..": "..inp:GetAttrs().INPS_ID) end
If you haven't discovered it yet, you'll want to grab the UI Manager Examples collection from Reactor and check out the FusionScript Help Browser, which is an excellent way to discover properties and methods for everything in Fusion's registry.