Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > System variables > sysSchemeDirectory system variable (SDL script)
  
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")