Eyeon:Script/Reference/Applications/eyeonServer/Classes/Library/DeleteItem

From VFXPedia

< Eyeon:Script | Reference | Applications | eyeonServer | Classes | Library
Revision as of 14:01, 9 December 2006 by Peter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

library : DeleteItem()

Arguments

DeleteItem(id)

  • id(required, String)

The UUID of the bin item to delete.

Returns

A Boolean indicating if eyeonScript successfully deleted the item (will return false, for example, if the UUID does not exist.

Remarks

DeleteItem will allow eyeonScript to remove items from the bins.

Requirements

  • eyeonScript 5.01
  • Fusion 5.01

Examples

es = eyeonServer("localhost")

lib = es:OpenLibrary("Library", "Kane", "Rosebud")

ilist = lib:GetItemList()

for i, item in ilist do

       if item.Name == "ItemToDelete" then
              lib:DeleteItem(i)
  
       end

end


Tips for DeleteItem (edit)

EyeonTips:Script/Reference/Applications/eyeonServer/Classes/Library/DeleteItem