FileParam — Natron 2.5.0 documentation

# FileParam

Inherits StringParamBase

## Synopsis

This parameter is used to specify an input file (i.e: a file that already exist).

### Functions

- def `openFile` ()

- def `reloadFile` ()

- def `setSequenceEnabled` (enabled)

### Member functions description

NatronEngine.FileParam.openFile()

When called in GUI mode, this will open a file dialog for the user. Does nothing in background mode.

NatronEngine.FileParam.reloadFile()

Force a refresh of the data read from the file. Any cached data associated to the file will be discarded.

NatronEngine.FileParam.setSequenceEnabled(enabled)
  Parameters

    enabled – `bool`

Determines whether the file dialog opened by `openFile()` should have support for file sequences or not.