Eyeon:Script/Reference/Applications/Fusion/Classes/Operator/GetChildrenList

From VFXPedia

Jump to: navigation, search

Contents

Tool : GetChildrenList

Summary

Returns a list of all child tools, or selected children tools.

This function is useful for finding members of Macro or Group tools.


Arguments

tools = GetChildrenList([boolean selected, [string RegID]]))


selected
Pass 'true' to get only selected child tools
RegID
pass a Registry ID string to get only child tools of that type

Returns

A table of tool objects.


Example

-- list all tools in a group or macro
for i,t in pairs(tool:GetChildrenList()) do
    print(t.Name)
end

Requirements

  • eyeonScript 5.0
  • Fusion 5.3


See Also


Tips for GetChildrenList (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Operator/GetChildrenList