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

From VFXPedia

Jump to: navigation, search

Contents

Fusion : FindReg

Find a registry object by name

Usage

reg = FindReg(string id[, integer type])


Arguments

  • id [required, string]

The id of the registry item to find and return.

  • type [optional, constant]

A constant which restricts the search to a specific type of registry entry. For example, the constant value CT_Tool would search only the Tool type entries in the registry. Some valid constants include

  • CT_Tool
  • CT_Filter
  • CT_FilterSource
  • CT_ParticleTool
  • CT_ImageFormat

Returns

  • registry [object]

A registry object, or nil if no match is found.

Remarks

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

reg = fusion:FindReg("Loader")
dump(reg:GetAttrs())

See Also


Tips for FindReg (edit)

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