includepath allows for adding additional search paths for finding external files.

With the statement include$, HPx searches by default only in the simulation case folders. Users can specify additional folders in which HPx searches for the file. HPx screens in a sequence starting from the project folder and then subsequently following the order of defined additional folders. It stops searching from the moment it has found a file with the same file name.

 


Definition

includepath <start>path



Explanation


<start>

txt

Optional - Indicates a relative folder starting from:

start


project

The path is relative to the project folder 

root

The path is relative to the parent folder of the project folder


path

txt

Name of the folder. Important - there is no space between > and the folder name. A space will be interpreted as part of the folder name.



Example


Assume your simulation case is located on C:\Project01\Case01.



includepath c:\Additional data

includepath <project>..\Project data

includepath <root>Project data



The first line adds "c:\Additional data" to the list of folders.

The second and third line adds the same folder to the list ("C:\Project01\Project data") as:

Second line:  C:\Project01\Case01\..\Project data

Third line:      C:\Project01\Case01\Project data