The absolute pathname of the template's main output directory (i.e. where the template's output document is located).

For the main template, this directory is specified with -d option on the generator command line (or in the Output Folder field of the generator GUI).

For a template called from another template, its main output directory is produced by the expression specified in the corresponding Template Call Section/Control: Call Settings | Output Settings | Output File | Expression for Output Directory. The pathname returned by that expression (or empty string, if it is not defined) is resolved against the main output directory of the calling template. (Therefore, an empty pathname will mean that the called template inherits the output directory of the calling one.)

Note: The returned directory pathname uses (and always ends with) the name-separator character: '/'

See Also:

GOMOutputInfo.docFilesDir