sysSchemeDirectory system variable (SDL script)
The sysSchemeDirectory system variable (a global string) returns the path of the directory in which the Generate.sdl generation template resides.
This system variable is useful when using templates that are in different directories, such as the Ada generation templates.
In this example, the generation template calls the Datatype.sdl generation template, which resides in the same folder as the Generate.sdl generation template.
%load (%getvar "sysSchemeDirectory") & ("\Datatype.sdl")