Jump to: Board index » General » Fusion

Get Inputs from Autowrite

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

jokermartini

  • Posts: 2
  • Joined: Thu Mar 11, 2021 9:50 pm
  • Real Name: John Martini

Get Inputs from Autowrite

PostFri Mar 12, 2021 12:57 pm

How can I recursivley loop through all the children of an Autowrite node and find all the Loaders? Because my goal is to eventually collect all the Loaders so i can then find the filepaths to what is being read into the comp to determine how to specify the Autowrite output path.

I'm really struggling to find how to get the Input tools of my autowrite. Any help would be great.


Code: Select all
def getParents():
    comp = fu.GetCurrentComp()
    toollist = comp.GetToolList().values()
    for tool in toollist:
        children = []
        if tool.GetAttrs('TOOLS_RegID') == 'Saver':
            # children = getChildrenLoaders...(tool)
Attachments
samples.jpg
samples.jpg (17.61 KiB) Viewed 88 times

Return to Fusion

Who is online

Users browsing this forum: No registered users and 10 guests