Last active
July 25, 2016 20:44
-
-
Save BigRoy/90c3315f004ec0e2f1bfa1a5d2b00149 to your computer and use it in GitHub Desktop.
Debug print selected tool inputs in Fusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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