Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/GetRegAttrs
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Fusion
Contents |
Fusion : GetRegAttrs
Arguments
GetRegAttrs( ID )
- ID (required, integer)
An integer specifying the unique id of the registry entry that this function will return attributes for.
Returns
A table of registry ids.
Remarks
The GetRegAttrs() function will return a table with the attributes of a specific individual registry entry in Fusion. The only argument is the ID, a unique numeric identifier possessed by each entry in the registry. The ID identifiers for each registry item can be obtained from fusion:GetRegList(), fusion:FindRegID(), and tool:GetID() functions.
Registry attributes are strictly read only, and cannot be modified in any way.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- A tool script which dumps the registry attributes -- for the active tool. local ID = tool:GetAttrs().TOOLS_RegID local Attrs = fusion:GetRegAttrs(ID) dump(Attrs)
Tips for GetRegAttrs (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/GetRegAttrs