Jump to: Board index » General » Fusion

Parent Child Relationship

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

Parent Child Relationship

PostThu Mar 11, 2021 9:55 pm

Is it possible, using the python api, to get all the child nodes connected to a given 'saver' node? Seems like such a simple thing but I can't find any useful documentation on scripting in Blackmagic fusion for python.
Offline
User avatar

Chad Capeland

  • Posts: 3022
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Parent Child Relationship -

PostFri Mar 12, 2021 3:23 pm

Inputs can only have one connected output. You can find it with input.GetConnectedOutput().GetTool(). If you want to do it for all inputs of the tool and do it recursively, there's an example on WSL.

https://www.steakunderwater.com/wesuckl ... 55d#p24998
Chad Capeland
Indicated, LLC
www.floweffects.com

Return to Fusion

Who is online

Users browsing this forum: No registered users and 37 guests