Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/GetCompList

From VFXPedia

Jump to: navigation, search

Contents

Fusion : GetCompList

Arguments

GetCompList()

Returns

This function returns a table of composition object handles.

Remarks

GetCompList returns a table containing handles to all of the comps currently open in the Fusion Interface object. The returned table contains the handles to all currently open comps.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

-- this example gets a list of open comps -- and closes each one.


cl = fusion:GetCompList() num = table.getn(cl) print("Closing all compositions") for i=1,num do

  cl[i]:Close()

end

print("Complete")

See Also

///SetActiveComp]](),///GetActiveComp]]()


Tips for GetCompList (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/GetCompList