Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » File System » EnumerateFiles


Enumerates the files present in a disk directory.

Name Type Description
inDirectory Directory Input directory
inExtensions String Allowed extensions separated by semicolon
inSortingOrder FileSortingOrder Sorting order
inRepeat Bool Determines whether to repeat reading directory after reading all files
inProcessSubdirectories Bool Flag indicating whether to enumerate files from the subdirectories or not
inInvert Bool Flag indicating whether to enumerate files backwards or not
outFilePath File Output file path
outFileName String Output file name


Description of usage of this filter can be found in examples and tutorial: Chocolate Cookies Inspection 3D.



Sorting output by file creation date when running AVL on Linux is not possible due to file system restrictions. When requested to do so EnumerateFiles will throw an exception.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Cannot sort by file creation date on Linux.
DomainError Directory doesn't exist: Directory path
DomainError Empty string is not a valid directory path.

Complexity Level

This filter is available on Basic Complexity Level.