This functionality is only available for certain module packages.

getOutputDirectory(DisciplineObject discObject)

Returns a string that contains the path to the output directory of the discipline in the workspace. In the event of an error, an exception is thrown.

getOutputDirectory(DisciplineObject discObject) throws CoreException
Argument DisciplineObject discObject Discipline object for which a folder should be determined.
Return value String Path to the folder of the output data.

The path to the output directory differs depending on whether a desktop or Job Server installation has been performed.