Page 1 of 1

fusion script

PostPosted: Wed Feb 08, 2017 1:06 pm
by vinayragbotra
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.

Re: fusion script

PostPosted: Wed Feb 08, 2017 9:32 pm
by michael vorberg
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()

Re: fusion script

PostPosted: Thu Feb 09, 2017 12:48 am
by vinayragbotra
thank you so much sir.
It worked.
:)