Eyeon:Script/Reference/Libraries/eyeon/getcurrentdir

From VFXPedia

Jump to: navigation, search


Contents

Usage

eyeon.getcurrentdir()


Returns

This function returns the current directory that eyeonScript is operating in within the os context.


Remarks

By default, eyeonScript operates with its various ansi pathing options for libraries as though it were being run from the Fusion:\ directory. However, if eyeonScript is launched through the command line through a batch file or another application, it might have a different currentdir -- this function will allow you to make such a check. Use eyeon.setcurrentdir to change the current directory.


Requirements

  • eyeonScript 5.1

This is also available as a global function in Fusion 5.0


Examples

print(getcurrentdir())


Tips for getcurrentdir (edit)

EyeonTips:Script/Reference/Libraries/eyeon/getcurrentdir