User Documentation

Export and import projects
31
A template consists of the following files:
File Description
<TemplateName>.project
Project file copied from an existing project
<TemplateName>.template
XML file with text for template name, .... in different
languages.
To create a template, proceed as follows:
1) Open or create a project that will be used as a template later. Devices
can be added and parameters can be configured here too.
2) Save the project.
3) Close u-create studio.
4) Copy the saved project file <name>.project from the project folder of
the sample directory and rename it to <TemplateName>. project.
5) Copy file ..\EmptyProject.template (in the same directory), rename
the copy to <TemplateName>.template.
6) Open the just created <TemplateName>.template file with a text editor
(such as Notepad). This file is an XML file that contains texts for the tem-
plate in different languages. It consists of the following three main com-
ponents:
Explanation of the XML tags
XML tag Description
<Name> Name of the template
<Description>
Description of the template, appears as information while
creating a project
<DefaultFileName> The prefix for names of new projects
Each component contains XML tags with the text in different languages:
Explanation of the XML tags
XML tag Description
<DefaultString> English text
<LocalizedString culture='de'>
Text in another language, the language is always specified
in culture . In this case, it is de for German
Adapt the contents of the XML tags as needed. The > and < symbols must
not be used in the text.
7) Save the file.
8) Start u-create studio.
The template is now available to create a new project.