Skip to content

Instantly share code, notes, and snippets.

@BigRoy
Last active July 25, 2016 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigRoy/90c3315f004ec0e2f1bfa1a5d2b00149 to your computer and use it in GitHub Desktop.
Save BigRoy/90c3315f004ec0e2f1bfa1a5d2b00149 to your computer and use it in GitHub Desktop.
Debug print selected tool inputs in Fusion
# For each selected tool
tools = comp.GetToolList(True).values()
for tool in tools:
print tool.Name
# For each input
inputs = tool.GetInputList().values()
for input in inputs:
name = input.Name # ui friendly name
id = input.ID # label for input as seen in status bar
value = input[comp.CurrentTime] # value at current frame
print '\t-', id
print '\t\tname:', name
print '\t\tvalue:', value
print ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment