Jump to: Board index » General » Fusion

fusion script

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

vinayragbotra

  • Posts: 31
  • Joined: Sat Apr 04, 2015 4:35 pm

fusion script

PostWed Feb 08, 2017 1:06 pm

Hi All,
I want to select particular tool in fusion flow
like there are polygon tools, and there bg tools, merge tools
I want to select all polygon tools with one command or script.
Can anyone suggest me how to do this?
Thank you very much.
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: fusion script

PostWed Feb 08, 2017 9:32 pm

here is an example for you

Code: Select all
comp:Lock()
local flow = comp.CurrentFrame.FlowView
allPolylines = comp:GetToolList(false, "PolylineMask")
for i, currentPolyline in pairs(allPolylines) do
    flow:Select(currentPolyline)
end
comp:Unlock()
Offline

vinayragbotra

  • Posts: 31
  • Joined: Sat Apr 04, 2015 4:35 pm

Re: fusion script

PostThu Feb 09, 2017 12:48 am

thank you so much sir.
It worked.
:)

Return to Fusion

Who is online

Users browsing this forum: No registered users and 79 guests