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

From VFXPedia

Jump to: navigation, search

Contents

library : CreateFolderPath()

Arguments

CreateFilePath(parent, type, path)

  • parent(required, String)

The UUID of the parent folder in which you wish to create the bin folder.

  • type(required, String)

The type of binitem to create -- always "BinFolder".

  • path(required, String)

A bin folder path.

Returns

The parent folder of the set of bin folders created.

Remarks

This function will create a set of folders in the bins (without having to create each folder individually).

Requirements

  • eyeonScript 5.01
  • Fusion 5.01

Examples

es = eyeonServer("localhost")

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

-- this will create a set of folders on the root of a library,

-- one called "settings", and then a subfolder called "luts"

lib:CreateFilePath("72228aff-05e1-4d37-9a6d-a3aa2d011759", "BinFolder", "settings\\luts")


Tips for CreateFolderPath (edit)

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