Difference between revisions of "XML templates for windPRO projects"

From Wiki-WindPRO
Jump to navigation Jump to search
Line 40: Line 40:
 
<?xml version="1.0" ?>
 
<?xml version="1.0" ?>
 
<WindPROProjectInitialize >
 
<WindPROProjectInitialize >
<Filename>c:\Windpro data\projects\newtest.w3p</Filename>
+
  <Filename>c:\Windpro data\projects\newtest.w32p</Filename>
<Maindata>
+
  <Maindata/>
<Layers>
+
  <Layers/>
<Objects>
+
  <Objects/>
 
</WindPROProjectInitialize></nowiki>
 
</WindPROProjectInitialize></nowiki>
 +
 +
 +
 +
==== Filename ====
 +
 +
File name for the new project.
 +
<Filename>Full file name (*.w32p)</Filename>
  
 
=== Lists ===
 
=== Lists ===

Revision as of 11:59, 26 January 2018

Purpose

This paper describes an XML file used to set up initial data for a windPRO project


Disclaimer

This windPRO feature is still in an experimental stage. The XML format relies heavily on the internal structures of windPRO and can be changed from version to version.


Use

The XML template can be created or edited in any tool, either a simple text editor or specialized XML editor. The XML template can be used as argument to a command line launch of windPRO or selected in an open dialog.

Command line launch

windPRO can be launched from a command line (or batch file) as:

wpstart /P=xxxx.xml

Notice that windPRO must be shut down. There is currently no support for creating a new project in a running instance of windPRO.

Open XML template

From a running instance of windPRO, an XML template can be selected in the Open dialog. Note that XML can't be selected as file type, the user must either type the full file name or *.xml and search for the XML template


Format of XML template

The current supported format is described. The format may be enhanced or changed in the future.

Main structure

<?xml version="1.0" ?>
<WindPROProjectInitialize >
  <Filename>c:\Windpro data\projects\newtest.w32p</Filename>
  <Maindata/>
  <Layers/>
  <Objects/>
</WindPROProjectInitialize>


Filename

File name for the new project. <Filename>Full file name (*.w32p)</Filename>

Lists

Samples