<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ocad.com/wiki/ocad/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=80.238.133.6</id>
	<title>OCAD Wiki - English - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.ocad.com/wiki/ocad/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=80.238.133.6"/>
	<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Special:Contributions/80.238.133.6"/>
	<updated>2026-09-22T18:42:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Export_Files&amp;diff=3075</id>
		<title>Export Files</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Export_Files&amp;diff=3075"/>
		<updated>2011-12-07T11:12:23Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Export JPEG (Export box) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To print out a map or use it in another desktop publishing program, export it in for example PDF format. &lt;br /&gt;
# 	Select &#039;&#039;&#039;Export&#039;&#039;&#039; in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
# 	Select the area to print (&#039;&#039;&#039;Entire Map, Part of Map&#039;&#039;&#039; or &#039;&#039;&#039;One page&#039;&#039;&#039;) in the &#039;&#039;&#039;Setup field&#039;&#039;&#039;. Now place the gray frame in the drawing window over the area you want to print out. If you cannot see the frame, click &#039;&#039;&#039;Zoom out&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu until the frame becomes visible.&lt;br /&gt;
# 	Click &#039;&#039;&#039;OK&#039;&#039;&#039; to export the map. &lt;br /&gt;
:[[File:Hint.jpg|hint]] If you want to export the raster background map as well, enter a resolution for it.&lt;br /&gt;
&lt;br /&gt;
: [[File:Example.jpg|example]] [[File Export Information]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Save Files==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Save:&#039;&#039;&#039; Select Save in &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
* &#039;&#039;&#039;Save in:&#039;&#039;&#039; This box displays the present location. Press the down arrow to go back in the hierarchy or change to a different drive. &lt;br /&gt;
: The box below displays the folders and files in the present location. To open a folder (and change to this folder) double clicks on it. &lt;br /&gt;
* &#039;&#039;&#039;File Name:&#039;&#039;&#039; Enter the file name here. You do not have to enter an extension. The default extension is appended automatically. The default extension depends on the file you want to save. It is *.ocd for an OCAD map file.&lt;br /&gt;
: [[File:Hint.jpg|hint]] If you do not enter an extension, you must &#039;&#039;&#039;not&#039;&#039;&#039; enter the period. If you enter a period, no extension will be appended.&lt;br /&gt;
* &#039;&#039;&#039;Save as type:&#039;&#039;&#039; When the dialog box is opened, you need to choose the file type to be saved as. For map files for example, this is &#039;&#039;&#039;Map files (*.ocd)&#039;&#039;&#039;. This means that all files with the extension OCD are listed in the Files list box.&lt;br /&gt;
:You can choose &#039;&#039;&#039;All files (*.*)&#039;&#039;&#039; to list all files in the selected directory.&lt;br /&gt;
* &#039;&#039;&#039;Save as:&#039;&#039;&#039; Select &#039;&#039;&#039;Save&#039;&#039;&#039; as in &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
: Choose this command to save the current map under a new name. The &#039;&#039;&#039;Save As&#039;&#039;&#039; file dialog box is displayed.&lt;br /&gt;
: You can use this command to save the map in a previous OCAD version (6, 7, 8 or 9). In the box &#039;&#039;&#039;Save as type&#039;&#039;&#039; you can choose the format.&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -All changes made since the old map was saved the last time are not written to the old map. They are written to the new map only. However, if Auto Save is switched on, the changes are saved to both files. Choose OCAD Preferences from the Options menu to switch Auto Save on and off.&lt;br /&gt;
:: -Do not use this command to make a backup copy of your map. Choose Backup from the File menu for this purpose.&lt;br /&gt;
&lt;br /&gt;
==Setup Part of  Map==&lt;br /&gt;
&lt;br /&gt;
This dialog box appears if you click &#039;&#039;&#039;Setup&#039;&#039;&#039; in some of the Export dialog boxes.&lt;br /&gt;
:In this dialog box you can define the part of the map to be exported.&lt;br /&gt;
* &#039;&#039;&#039;Coordinates:&#039;&#039;&#039; Select here if you want to enter the coordinates in paper coordinates or in real world coordinates. Choose Scale and Coordinate System from the Map menu to setup the real world coordinate system. If the real world coordinates are rotated, you can only use paper coordinates.&lt;br /&gt;
* &#039;&#039;&#039;Left, Right, Bottom, Top:&#039;&#039;&#039; Enter here the boundaries of the desired export window.&lt;br /&gt;
* &#039;&#039;&#039;Entire map:&#039;&#039;&#039; Click this button to set the boundaries to the entire map.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Export AI==&lt;br /&gt;
&#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export AI file.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map to an AI (Adobe Illustrator) file.&lt;br /&gt;
&lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map.&lt;br /&gt;
&lt;br /&gt;
The AI format is the preferred format if you want to process the map further in a graphics program. It preserves the full graphics quality of the map. The exported file contains layers corresponding to the OCAD symbols appearing on the map. The format is Adobe Illustrator version 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part of Map&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
: Click the button Setup [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
: Click the button Entire map [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
: Click the button To current view [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export scale&#039;&#039;&#039;&lt;br /&gt;
Enter the scale for the exported map. You can enter the scale on the keyboard, or choose one of the predefined scales.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Colors&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;CMYK (process) colors:&#039;&#039;&#039; Select this radio button if you want to print the map using &#039;&#039;&#039;process colors&#039;&#039;&#039;.&lt;br /&gt;
Spot colors: Select this radio button if you want to print the map using spot colors Mode. If you choose this option, the appearance must be specified for each spot color. Choose &#039;&#039;&#039;Spot color Mode&#039;&#039;&#039; from the &#039;&#039;&#039;Map&#039;&#039;&#039; menu to define the appearance for the different spot colors. Activate Combine to export all selected spot colors in the same file. This is for very special cases. Normally you should not use this option.&lt;br /&gt;
&lt;br /&gt;
==Export BMP==&lt;br /&gt;
Choose this command to export the map to a BMP file. The &#039;&#039;&#039;Export BMP File&#039;&#039;&#039; dialog box is displayed. After clicking OK, a file dialog box is displayed where you can enter a filename for the exported bitmap.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Resolution:&#039;&#039;&#039; Enter here the desired resolution for the exported BMP file.&lt;br /&gt;
* &#039;&#039;&#039;Pixel size:&#039;&#039;&#039; Enter here the size of a pixel in the real world. &lt;br /&gt;
* &#039;&#039;&#039;Create World file (*.bpw):&#039;&#039;&#039; Choose this option if you want to use the exported file in a GIS (Geographical Information System). A World file with the geo-reference information is created.&lt;br /&gt;
* &#039;&#039;&#039;Anti-Aliasing:&#039;&#039;&#039; Anti-Aliasing is method to make the edges of lines and texts appear soft. Normally you should activate this option.&lt;br /&gt;
* &#039;&#039;&#039;Color correction:&#039;&#039;&#039; Activate this option to apply the same color correction as for the screen. Choose Color correction from the Options menu to setup the color correction.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;&lt;br /&gt;
: Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
: Click the button Setup [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
: Click the button Entire map [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
: Click the button To current view [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
: If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tiles&#039;&#039;&#039;&lt;br /&gt;
: Activate this check box to export the map in tiles instead of one single file. Click the button Setup [[File:Setup.JPG|setup]] to define the tiles. The dialog box Setup tiles appears.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Pixel size&#039;&#039;&#039; and Create &#039;&#039;&#039;World file&#039;&#039;&#039; option are only available if &#039;&#039;&#039;Real world coordinate&#039;&#039;&#039; mode in &#039;&#039;&#039;Scale and Coordinate System&#039;&#039;&#039; from the &#039;&#039;&#039;Map&#039;&#039;&#039; menu is activated&lt;br /&gt;
&lt;br /&gt;
==Export DXF==&lt;br /&gt;
:&#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export DXF file.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;(This function is not available if the map is hidden.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the entire map to a *.dxf file.&lt;br /&gt;
After clicking OK, a file dialog box is displayed where you can enter a filename for the exported map.&lt;br /&gt;
The exported DXF contains only layers (corresponding to the symbols) and coordinates, but no graphics. (That is, the appearance of the symbols is lost.) If you want to process a map further in a graphics program, the AI (Adobe Illustrator) format is the preferred format. There all graphics are exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export Scale&#039;&#039;&#039;&lt;br /&gt;
:Enter the scale for the exported map. You can enter the scale on the keyboard, or choose one of the predefined scales.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convert text from ANSI to OEM&#039;&#039;&#039;&lt;br /&gt;
:Activate this option if text should be converted to the OEM character set. OEM character set is used by old DOS programs and concerns only accented characters (ä, à, å etc.). :Normally you should not activate this option.&lt;br /&gt;
:If accented characters are not imported correctly in the DOS program, try this option.&lt;br /&gt;
:&#039;&#039;&#039;Convert text from ANSI to Unicode:&#039;&#039;&#039; Activate this option if text should be converted to the Unicode character set. &lt;br /&gt;
:&#039;&#039;&#039;Only objects with a selected symbol:&#039;&#039;&#039; Activate this option to export only objects with a &#039;&#039;&#039;selected symbol&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CRT&#039;&#039;&#039;&lt;br /&gt;
:Choose this button to load a cross reference table. In a &#039;&#039;&#039;cross reference table&#039;&#039;&#039; you can define how the OCAD symbols are translated to DXF layers. If you do not use a cross :reference table, then the symbol numbers without decimal point are used as DXF layers (e.g. symbol 101.0 is translated to 1010). The &#039;&#039;&#039;Load Cross Reference Table&#039;&#039;&#039; file dialog box is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export OCAD curves as DXF splines&#039;&#039;&#039;&lt;br /&gt;
:Activate this option if OCAD Bézier curves should be converted to DXF splines. Otherwise they are converted to polylines.&lt;br /&gt;
* &#039;&#039;&#039;GIS (m):&#039;&#039;&#039; Select this radio button if you want to use the *.dxf file in a Geographic Information System (GIS). 1 unit corresponds to 1 meter in the real world. The map scale is used for the transformation.&lt;br /&gt;
* &#039;&#039;&#039;Paper (mm): &#039;&#039;&#039; Select this radio button if you want to use the *.dxf file in a graphics program. 1 unit corresponds to 1 mm on the map.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Export EPS==&lt;br /&gt;
:&#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export EPS file.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map (or part of it) in the EPS format.&lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map. *.eps files are mainly used to print maps on a color copier or to make the printing films for offset printing. &lt;br /&gt;
EPS files can be opened in Adobe Illustrator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part of map&#039;&#039;&#039;&lt;br /&gt;
:Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Entire map&#039;&#039;&#039; [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
* Click the button &#039;&#039;&#039;To current view&#039;&#039;&#039; [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
:If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export scale&#039;&#039;&#039;&lt;br /&gt;
:Enter the scale for the exported map. You can enter the scale on the keyboard, or choose one of the predefined scales.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Colors&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Color EPS (CMYK):&#039;&#039;&#039; Select this radio button to export a colored map. The color EPS contains CMYK colors. At the service bureau color copies or films for CMYK printing can be made.&lt;br /&gt;
* &#039;&#039;&#039;Spot color separations:&#039;&#039;&#039; Select this option to export spot color separations. Choose Spot color Mode from the View menu to define spot colors. When this radio button is activated and spot colors are defined, you can select one or more of the defined spot colors in the Spot colors list box. Normally you export an EPS file for each of these spot colors.&lt;br /&gt;
&lt;br /&gt;
==Export GIF==&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map as a GIF file. &lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map.&lt;br /&gt;
GIF files are used to publish small maps in the Internet. For large maps the OIM (OCAD Internet) file format is recommended.&lt;br /&gt;
For maps GIF offers the better compression than JPEG and therefore gives smaller files.&lt;br /&gt;
* &#039;&#039;&#039;Resolution:&#039;&#039;&#039; Enter here the desired resolution for the exported GIF file.&lt;br /&gt;
* &#039;&#039;&#039;Pixel size:&#039;&#039;&#039; Enter here the size of a pixel in the real world. &lt;br /&gt;
* &#039;&#039;&#039;Create World file (*.gfw):&#039;&#039;&#039; Choose this option if you want to use the exported file in a GIS (Geographical Information System). A World file with the geo-reference information is created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039;&lt;br /&gt;
Anti-Aliasing is method to make the edges of lines and texts appear soft. Normally you should activate this option.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Color correction&#039;&#039;&#039;&lt;br /&gt;
Activate this option to apply the same color correction as for the screen. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part of map&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
* Click the button Setup [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates.&lt;br /&gt;
* Click the button Entire map [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
* Click the button To current view [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tiles&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export the map in tiles instead of one single file. Click the button Setup [[File:Setup.JPG|setup]] to define the tiles.&lt;br /&gt;
: [[File:Hint.jpg|hint]] Pixel size and &#039;&#039;&#039;Create World file&#039;&#039;&#039; option are only available if &#039;&#039;&#039;Real world coordinate&#039;&#039;&#039; mode in &#039;&#039;&#039;Scale and Coordinate System&#039;&#039;&#039; from the &#039;&#039;&#039;Map&#039;&#039;&#039; menu is activated&lt;br /&gt;
&lt;br /&gt;
==Export GPX==&lt;br /&gt;
&#039;&#039;(This function is not available if the map is hidden.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose GPX file format to export OCAD objects as waypoints, tracks or routes that can be loaded to GPS devices.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only the selected map objects are exported.&lt;br /&gt;
:: -Only point, line, text and line text objects are exported. Area objects cannot be exported to GPX.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Metadata&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Description:&#039;&#039;&#039; A description of the contents of the GPX file.&lt;br /&gt;
* &#039;&#039;&#039;Author:&#039;&#039;&#039; The person or organization who created the GPX file. &lt;br /&gt;
* &#039;&#039;&#039;Keywords:&#039;&#039;&#039; Keywords associated with the file. Search engines or databases can use this information.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export line objects as&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Routes:&#039;&#039;&#039; Line objects are exported as routes: &amp;lt;rte&amp;gt;. A route is an ordered list of waypoints leading to a destination.&lt;br /&gt;
* &#039;&#039;&#039;Tracks:&#039;&#039;&#039; Line objects are exported as tracks: &amp;lt;trk&amp;gt;. A track is an ordered list of points describing a path.&lt;br /&gt;
: After clicking OK, the file dialog box is displayed where you can enter a filename.&lt;br /&gt;
&lt;br /&gt;
==Export JPEG==&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map as a JPEG file. &lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map. &lt;br /&gt;
JPEG files are used to publish small maps in the Internet. For large maps the OIM (OCAD Internet) file format is recommended.&lt;br /&gt;
For maps GIF offers the better compression than JPEG and therefore gives smaller files.&lt;br /&gt;
* &#039;&#039;&#039;Resolution:&#039;&#039;&#039; Enter here the desired resolution for the exported JPEG file.&lt;br /&gt;
* &#039;&#039;&#039;Pixel size:&#039;&#039;&#039; Enter here the size of a pixel in the real world. &lt;br /&gt;
* &#039;&#039;&#039;Create World file (*.jgw):&#039;&#039;&#039; Choose this option if you want to use the exported file in a GIS (Geographical Information System). A World file with the geo-reference information is created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anti-Aliasing:&#039;&#039;&#039; Anti-Aliasing is method to make the edges of lines and texts appear soft. Normally you should activate this option.&lt;br /&gt;
&#039;&#039;&#039;Color correction: &#039;&#039;&#039;Activate this option to apply the same color correction as for the screen. Choose Color correction from the Options menu to setup the color correction.&lt;br /&gt;
&#039;&#039;&#039;Part of map:&#039;&#039;&#039; Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
: Click the button Setup to define the part of map to be exported by coordinates. The dialog box Setup &#039;&#039;&#039;Part of Map&#039;&#039;&#039; (Export) appears.&lt;br /&gt;
: Click the button Entire map to export the entire map.&lt;br /&gt;
: Click the button To current view to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tiles:&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export the map in tiles instead of one single file. Click the button &#039;&#039;&#039;Setup&#039;&#039;&#039; to define the tiles. The dialog box Setup tiles appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] &#039;&#039;&#039;Pixel&#039;&#039;&#039; size and &#039;&#039;&#039;Create World file&#039;&#039;&#039; option are only available if &#039;&#039;&#039;Real world coordinate&#039;&#039;&#039; mode in &#039;&#039;&#039;Scale and Coordinate System&#039;&#039;&#039; from the &#039;&#039;&#039;Map&#039;&#039;&#039; menu is activated&lt;br /&gt;
&lt;br /&gt;
==Export KML==&lt;br /&gt;
&#039;&#039;(This function is not available if the map is hidden.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose KML (Google Earth) file format if you want to view the export map objects in a Earth Viewer.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only the selected map objects are exported.&lt;br /&gt;
:: -Only point, line and area objects are exported. Text object cannot be exported to KML.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; This is the name of the place folder in the places panel of Google Earth.&lt;br /&gt;
* &#039;&#039;&#039;Screen overlay:&#039;&#039;&#039; Define what an icon should be shown in top left corner of the Earth Viewer window when the KML file is opened. This icon is not included in the KML file. An URL must be entered. The screen overlay name is the name shown in the places panel of Google Earth&lt;br /&gt;
* &#039;&#039;&#039;Look at (longitude, latitude and range):&#039;&#039;&#039; Geographical coordinates and height above sea level where the viewer should start navigating by opening Google Earth.&lt;br /&gt;
* &#039;&#039;&#039;Height for area objects:&#039;&#039;&#039; Set a height value for area objects to make them looking three-dimensional.&lt;br /&gt;
* &#039;&#039;&#039;Placemark default name:&#039;&#039;&#039; Set a default name that is shown in the places panel of Google Earth. &lt;br /&gt;
* &#039;&#039;&#039;Default icon for point objects:&#039;&#039;&#039; Point objects are converted to placemarks. A placemark needs an icon (small picture). This icon is not included in the KML file. An URL must be entered. Google Earth loads the icon dynamically when the KML file is opened.&lt;br /&gt;
&lt;br /&gt;
After clicking OK, a file dialog box is displayed where you can enter a filename.&lt;br /&gt;
&lt;br /&gt;
==Export KMZ==&lt;br /&gt;
&#039;&#039;(This function is only available in OCAD 10.2.0 and later.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map as a raster KMZ file. It is possible to open the exported KMZ file in Google Earth or upload this file on a Garmin GPS which supports &#039;Garmin Custom Maps&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tiles:&#039;&#039;&#039;&lt;br /&gt;
Choose here between no tiles, &#039;Garmin Custom Maps&#039; optimized tiles (max 1024x1024 pixels) or user-defined tiles.&lt;br /&gt;
After clicking OK, a file dialog box is displayed where you can enter a filename.&lt;br /&gt;
&lt;br /&gt;
==Export PDF==&lt;br /&gt;
&#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export PDF file.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map to a PDF-file.&lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map. You can open and print PDF files with Adobe Acrobat Reader.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part of map&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Entire map&#039;&#039;&#039; [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
* Click the button &#039;&#039;&#039;To current view&#039;&#039;&#039; [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export scale&#039;&#039;&#039;&lt;br /&gt;
Enter the scale for the exported map. You can enter the scale on the keyboard, or choose one of the predefined scales.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Colors&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Color EPS (CMYK):&#039;&#039;&#039; Select this radio button to export a color map. The color PDF contains CMYK colors. At the service bureau color copies or films for CMYK printing can be made.&lt;br /&gt;
: &#039;&#039;&#039;Spot color separations:&#039;&#039;&#039; Select this option to export spot color separations. Choose Spot color mode from the View menu to define spot colors. When this radio button is activated and spot colors are defined, you can select one or more of the defined spot colors in the Spot colors list box. Normally you export a PDF file for each of these spot colors. Activate Combine to export all selected spot colors in the same file. This is for very special cases. Normally you should not use this option.&lt;br /&gt;
: &#039;&#039;&#039;Compress file:&#039;&#039;&#039; Activate this box to compress the export file. The compression does not influence the print quality.&lt;br /&gt;
&lt;br /&gt;
==Export Shape==&lt;br /&gt;
: &#039;&#039;(This function is only available in OCAD Professional!)&#039;&#039;&lt;br /&gt;
: &#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export Shape file.)&#039;&#039;&lt;br /&gt;
: &#039;&#039;(This function is not available if the map is hidden.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map in the shape format. &lt;br /&gt;
&lt;br /&gt;
The shape format consists of 3 files&lt;br /&gt;
* *.shp: the shape file&lt;br /&gt;
* *.shx: the shape index&lt;br /&gt;
* *.dbf: a dBase file&lt;br /&gt;
Point, line, area and texts objects must be exported separately. If you export all types totally 12 files will be produced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Objects&#039;&#039;&#039;&lt;br /&gt;
In this box you select which object types should be exported. You can select one or more types by using the [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Ctrl&#039;&#039;&#039; keys. Initially all types are selected.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dataset&#039;&#039;&#039;&lt;br /&gt;
Select here if all objects should be exported or only objects linked to a specified dataset.&lt;br /&gt;
If you select &#039;&#039;&#039;All objects&#039;&#039;&#039; the dBase file will contain an ID, the symbol number, the angle and for texts the text.&lt;br /&gt;
If you select &#039;&#039;&#039;Objects in dataset&#039;&#039;&#039; the dBase file will contain the information of the corresponding table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Export SVG (Export box)==&lt;br /&gt;
: &#039;&#039;(This function is only available in OCAD Professional!)&#039;&#039;&lt;br /&gt;
: &#039;&#039;(This function is not available in Draft mode. Change to Normal mode to export SVG file.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose this command to export the map to a SVG (Scalable Vector Graphics) file.&lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map.&lt;br /&gt;
Part of map&lt;br /&gt;
Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Entire map&#039;&#039;&#039; [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
* Click the button &#039;&#039;&#039;To current view&#039;&#039;&#039; [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export scale&#039;&#039;&#039;&lt;br /&gt;
Enter the scale for the exported map. You can enter the scale on the keyboard, or choose one of the predefined scales.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compress file&#039;&#039;&#039;&lt;br /&gt;
Activate this box to compress the export file.&lt;br /&gt;
&lt;br /&gt;
==Export TIFF (Export box)==&lt;br /&gt;
Choose this command to export the map as a TIFF file&lt;br /&gt;
After clicking &#039;&#039;&#039;OK&#039;&#039;&#039;, a file dialog box is displayed where you can enter a filename for the exported map.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Resolution:&#039;&#039;&#039; Enter here the desired resolution for the exported TIFF file.&lt;br /&gt;
* &#039;&#039;&#039;Pixel size:&#039;&#039;&#039; Enter here the size of a pixel in the real world. &lt;br /&gt;
* &#039;&#039;&#039;Create World file (*.tfw):&#039;&#039;&#039; Choose this option if you want to use the exported file in a GIS (Geographical Information System). A World file with the geo-reference information is created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039;&lt;br /&gt;
Anti-Aliasing is method to make the edges of lines and text appear soft. Normally you should activate this option.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Color correction&#039;&#039;&#039;&lt;br /&gt;
Activate this option to apply the same color correction as for the screen. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part of map&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Setup.JPG|setup]] to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.&lt;br /&gt;
* Click the button &#039;&#039;&#039;Entire map&#039;&#039;&#039; [[File:EntireMap.JPG|entire map]] to export the entire map.&lt;br /&gt;
* Click the button &#039;&#039;&#039;To current view&#039;&#039;&#039; [[File:ToCurrentView.JPG|to current view]] to export the currently on the screen displayed map.&lt;br /&gt;
If this check box is not active the entire map will be exported.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tiles&#039;&#039;&#039;&lt;br /&gt;
Activate this check box to export the map in tiles instead of one single file. Click the button Setup [[File:Setup.JPG|setup]] to define the tiles. The dialog box Setup tiles appears.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Setup Tiles&#039;&#039;&#039;&lt;br /&gt;
This dialog box appears if you click the &#039;&#039;&#039;Setup&#039;&#039;&#039; button for &#039;&#039;&#039;Tiles&#039;&#039;&#039; in the &#039;&#039;&#039;Export&#039;&#039;&#039; panel.&lt;br /&gt;
If you choose the Tiles option, the map is divided into small rectangular fields (tiles) and one file is exported for each tile. The tiles start from the lower left corner. To number the files, the number of the column and the number of the row are appended to the file name.&lt;br /&gt;
: &amp;quot;filename_0_0.tif&amp;quot; is the tile in the lower left corner.&lt;br /&gt;
: &amp;quot;filename_1_0.tif&amp;quot; is the tile to the right of the first tile.&lt;br /&gt;
All tiles have the same size, even if they extend beyond the map size or the part of map defined.&lt;br /&gt;
:&#039;&#039;&#039;Tile size:&#039;&#039;&#039; Enter here the size of a tile.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Color&#039;&#039;&#039;&lt;br /&gt;
: &#039;&#039;&#039;Color TIFF (RGB):&#039;&#039;&#039; Select this option to export a color map.&lt;br /&gt;
: &#039;&#039;&#039;Compression:&#039;&#039;&#039; Choose LZW to compress the export file.&lt;br /&gt;
: &#039;&#039;&#039;Spot color separations:&#039;&#039;&#039; Select this option to export spot color separations. Choose Spot colors Mode from the View menu to define spot colors. When this radio button is activated and spot colors are defined, you can select one or more of the defined spot colors in the Spot colors list box. Normally you export a TIFF file for each of these spot colors. Activate Combine to export all selected spot colors in the same file. This is for very special cases. Normally you should not use this option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Color depth:&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Select the color depth (number of different colors to export):&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|CMYK (32 Bits): &lt;br /&gt;
|4295 million colors.&lt;br /&gt;
|-&lt;br /&gt;
|RGB (24 Bits): &lt;br /&gt;
|16 million colors.&lt;br /&gt;
|-&lt;br /&gt;
|256 colors: &lt;br /&gt;
|8 bits with 256 colors.&lt;br /&gt;
|-&lt;br /&gt;
|Grayscale: &lt;br /&gt;
|8 bits with 256 gray scales&lt;br /&gt;
|-&lt;br /&gt;
|Black/White: &lt;br /&gt;
|1 bit with black or white.&lt;br /&gt;
|-&lt;br /&gt;
|Halftone screen: &lt;br /&gt;
|1 bit with black or white.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] Pixel size and Create World file option are only available if Real world coordinate mode in Scale and Coordinate System from the Map menu is activated&lt;br /&gt;
&lt;br /&gt;
==Export Encrypted File==&lt;br /&gt;
&lt;br /&gt;
Choose this command to export encrypted OCAD files (EOCD). EOCD files are read only files. OCAD can open them as background maps only. &lt;br /&gt;
&lt;br /&gt;
Export encrypted command provides the following settings:&lt;br /&gt;
* &#039;&#039;&#039;Document open password:&#039;&#039;&#039; Protect the EOCD file with a password.&lt;br /&gt;
* &#039;&#039;&#039;Allow to print and export:&#039;&#039;&#039; Set this option if print/export should be allowed.&lt;br /&gt;
* &#039;&#039;&#039;Only valid for license number:&#039;&#039;&#039; Set this option to restrict file opening for a limited number (1-16) of OCAD users.&lt;br /&gt;
* &#039;&#039;&#039;Map owner name:&#039;&#039;&#039; Set a map owner name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OIM Export Assistent==&lt;br /&gt;
&lt;br /&gt;
Read more about this topic here: [[OCAD Internet Map]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Layout]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Printing Maps]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3074</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3074"/>
		<updated>2011-12-07T11:07:46Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a straight line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Line or Area Object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a Straight Line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw Multiple Point Objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an Elliptical Object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical Drawing Mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3073</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3073"/>
		<updated>2011-12-07T11:07:25Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a line or area object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Line or Area Object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw Multiple Point Objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an Elliptical Object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical Drawing Mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3072</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3072"/>
		<updated>2011-12-07T11:06:47Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Numerical drawing mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw Multiple Point Objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an Elliptical Object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical Drawing Mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3071</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3071"/>
		<updated>2011-12-07T11:06:30Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw an elliptical object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw Multiple Point Objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an Elliptical Object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3070</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3070"/>
		<updated>2011-12-07T11:06:15Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw multiple point objects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw Multiple Point Objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3069</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3069"/>
		<updated>2011-12-07T11:05:55Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a circular object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a Circular Object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw multiple point objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3068</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3068"/>
		<updated>2011-12-07T11:05:38Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a rectangular line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a circular object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw multiple point objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3067</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3067"/>
		<updated>2011-12-07T11:05:22Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a rectangular area */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a Rectangular Area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a rectangular line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a circular object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw multiple point objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3066</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3066"/>
		<updated>2011-12-07T11:05:06Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a freehand line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a Freehand Line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a rectangular area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a rectangular line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a circular object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw multiple point objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3065</id>
		<title>Drawing an Object</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Drawing_an_Object&amp;diff=3065"/>
		<updated>2011-12-07T11:04:46Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Draw a curve */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Order_SymbolizedAndGraphicObjects.PNG|x300px]]&lt;br /&gt;
&lt;br /&gt;
To draw a point object: &lt;br /&gt;
# 	Choose a point symbol. &lt;br /&gt;
# 	Select any drawing mode. The cursor appears as a crosshair with a point in the upper right-hand corner. &lt;br /&gt;
# 	Click a position in the drawing window.&lt;br /&gt;
# 	The point object appears.&lt;br /&gt;
:[[File:Hint.jpg|hint]] -To define a specific direction of for the object, click and hold the left mouse button on desired position; then drag to the direction you wish the object to be oriented to. &lt;br /&gt;
:: -The object can be adjusted retrospectively. To do this, select the point object and align it using the &#039;&#039;&#039;Indicate direction of area pattern, point or text object&#039;&#039;&#039; function.&lt;br /&gt;
:[[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/26.htm Drawing point objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a line or area object==	&lt;br /&gt;
You must select one of the eight drawing modes to draw a line or area object. The cursor appears as a crosshair with the symbol for the selected drawing mode in the lower right-hand corner.&lt;br /&gt;
&lt;br /&gt;
==Draw a straight line==&lt;br /&gt;
: [[File:Icon_StraightLineMode.PNG|draw a straight line]] &lt;br /&gt;
 &lt;br /&gt;
: [[File:DrawAStraightLine.PNG|Draw a straight line]]&lt;br /&gt;
&lt;br /&gt;
# 	To draw straight lines such as streets, power lines or sidewalks, select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Straight line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, then click and hold the left mouse button and drag the cursor in the desired direction. The help line provides a preview of the line that has just been drawn.&lt;br /&gt;
# 	To add a vertex to the straight line, release the left mouse button. Now press and hold the left mouse button once more and drag the cursor in the desired direction.  Repeat this process as often as necessary.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol. &lt;br /&gt;
 &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/20.htm Drawing straight object]&lt;br /&gt;
&lt;br /&gt;
==Draw a Curve==&lt;br /&gt;
: [[File:Icon_CurveMode.PNG|curve mode]]&lt;br /&gt;
&lt;br /&gt;
Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039; to draw flowing or curved lines such as contours or shore lines. Drawing Bézier &#039;&#039;&#039;Curves&#039;&#039;&#039; requires some practice as you need to get a feeling for where the radius or curvature of a flowing or curved line changes. The turning point is where the vertex and its tangents need setting. Once you have mastered this technique, you will be able to draw curved lines and area objects efficiently and precisely.&lt;br /&gt;
: [[File:InflectionPointOfBezierCurve.PNG|Inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select Bézier-&#039;&#039;&#039;Curve mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the point where you want to start the line, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button.&lt;br /&gt;
# 	Position the cursor at the next inflection, click and hold the left mouse button and drag the cursor to form the radius you want and release the left mouse button. The help line provides a preview of the curved line that has just been drawn. Repeat this process for each inflection point.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
: [[File:DrawABezierCurve.PNG|Draw a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] -If you are unhappy with the tangent, simply click the &#039;&#039;&#039;Backspace&#039;&#039;&#039; [[File:back.JPG|backspace]] button. The last tangent will be deleted and you can try again. You can delete as many tangents as you like up to the beginning of the line. This is not possible once the object has been completed.&lt;br /&gt;
:: -Sinuous lines can be managed easily by placing tangents at the outermost points.&lt;br /&gt;
: [[File:OutermostInflectionPointOfABezierCurve.PNG|Outermost inflection point of a Bézier curve]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can force a corner vertex by dragging two tangents from the same vertex point. &#039;&#039;&#039;Curve:&#039;&#039;&#039; Tangents 2 and 3 start at the same point but move in different directions. A corner vertex is created.&lt;br /&gt;
:[[File:CreateACornerVertexInABezierCurve.PNG|Create a corner vertex in a Bézier curve]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/25.htm Drawing curve object]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]]You can draw parts of a line or area object using different drawing modes. Select the appropriate symbol and draw the first part of your object using a drawing mode. Now press the Tab button until the desired drawing mode appears and then continue drawing.&lt;br /&gt;
:[[File:DrawObjectsUsingDifferentDrawingModes.PNG|Draw objects using different drawing modes]]&lt;br /&gt;
 &lt;br /&gt;
:[[File:Hint.jpg|hint]] You can lengthen existing line objects or expand area objects. Simply select the appropriate symbol, press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039;[[File:Shift.JPG|shift]] button and start drawing at the beginning or end of the existing object. Release the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG |shift]] button once the line or area has been added.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/35.htm Continuing existing objects]&lt;br /&gt;
: [[File:Hint.jpg|hint]] To draw horizontal or vertical lines, press and hold the &#039;&#039;&#039;Alt&#039;&#039;&#039; button. The &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] and &#039;&#039;&#039;Alt&#039;&#039;&#039; button functions can be combined.&lt;br /&gt;
&lt;br /&gt;
==Draw a freehand line==&lt;br /&gt;
: [[File:Icon_FreehandMode.PNG|freehand mode]] &lt;br /&gt;
&lt;br /&gt;
Freehand drawing mode plots the movement of the cursor and converts it into a line. Tracing flowing or curved lines using this mode is not very efficient or precise. Depending on the drawing speed and selected smoothing factor (1, 2 or 3), the line may appear somewhat angular because the vertices are connected using straight lines.&lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Freehand mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the beginning of the line, press the left mouse button briefly and trace the line you want using the mouse. &lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is transformed into the selected line or area symbol.&lt;br /&gt;
If you draw in freehand mode the same way as in straight mode, normal points will be placed at the corners. Unlike corner points, normal points do not affect dashed lines.&lt;br /&gt;
&lt;br /&gt;
==Draw a rectangular area==&lt;br /&gt;
: [[File:Icon_RectangularMode.PNG|RectangularMode.JPG]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; if you want to draw rectangular areas or objects such as buildings or squares. This drawing mode creates a right-angle in every corner and ensures the start and end points of the outline are identical. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor on one of the corners of the longest side of the rectangular area. Press and hold the left mouse button and drag the cursor along the longest side to the next corner. &lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides you with a preview of the straight line that has just been drawn. A broken line shows you what the rectangular object will look like when you have finished. Repeat the above process to draw a line to the third corner.&lt;br /&gt;
# 	Click the right mouse button to finish the drawing; the help line is then transformed into the selected line or area symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular area first since it is easier to define the rectangular orientation of an area from the longer side. &lt;br /&gt;
: [[File:DrawARectangularAreaOrLine.PNG|Draw a rectangular area or line]] &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/23.htm Drawing rectangular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw a rectangular line==&lt;br /&gt;
: [[File:Icon_RectangularLineMode.PNG|rectangular line mode]] &lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; if you want to draw rectangular line objects such as sidewalks or stairs. This drawing mode creates a right-angle in every corner. The only difference between &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039; and &#039;&#039;&#039;Rectangular mode&#039;&#039;&#039; is that the start and end points are not identical when using rectangular line mode.&lt;br /&gt;
# 	Select a line symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Rectangular line mode&#039;&#039;&#039;.&lt;br /&gt;
# 	Position the cursor at the beginning of the rectangular line. Press and hold the left mouse button and drag the cursor along the longest side to the next corner.&lt;br /&gt;
# 	When the cursor reaches the corner, release the left mouse button and then press it again. Hold the left mouse button and drag the cursor towards the next corner. The help line provides a preview of the line that has just been drawn. Repeat this process until you reach the end of the rectangular line.&lt;br /&gt;
# 	Click the left mouse button when you have finished drawing and the help line is then transformed into the selected line symbol. &lt;br /&gt;
You should always draw the longest side of a rectangular line first since it is easier to define the rectangular orientation of a line from the longer side.&lt;br /&gt;
&lt;br /&gt;
==Draw a circular object==&lt;br /&gt;
: [[File:Icon_CircleMode.PNG|circle mode]]&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039; if you want to draw circular objects such as roundabouts or silos. &lt;br /&gt;
# 	Select a line or area symbol from the symbol box.&lt;br /&gt;
# 	Select &#039;&#039;&#039;Circle mode&#039;&#039;&#039;. &lt;br /&gt;
# 	Position the cursor at the edge of the object, then press and hold the left mouse button and drag the cursor to the opposite edge. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
:[[File:Hint.jpg|hint]] -The outline or circular line is drawn as a Bézier curve. &lt;br /&gt;
:: -You can also drag the circle from the center point. Simply press and hold the &#039;&#039;&#039;Shift&#039;&#039;&#039; [[File:Shift.JPG|shift]] button and drag a radius.&lt;br /&gt;
:: -Clicking the center of the circle with the right mouse button without dragging displays the &#039;&#039;&#039;Draw Circle&#039;&#039;&#039; dialog box. Here you can enter the radius of the circle in mm or m.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/22.htm Drawing circular objects]&lt;br /&gt;
&lt;br /&gt;
==Draw multiple point objects==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_DrawingMultiplePointObjects.PNG|drawing multiple point objects]]&lt;br /&gt;
This drawing tool is used to draw several point objects that are placed on a line with a constant interval.&lt;br /&gt;
# Choose a point symbol in the symbol box.&lt;br /&gt;
# Choose the drawing tool Drawing multiple point objects from the Edit and Drawing toolbar.&lt;br /&gt;
# Draw a line from the position of the first to the position of the last feature.&lt;br /&gt;
# The Dialog Draw Multiple Point Objects appears:  &lt;br /&gt;
: [[File:NumberOfObjects.JPG|number of objects]]&lt;br /&gt;
Enter the number of objects and click the OK button.&lt;br /&gt;
&lt;br /&gt;
The defined number of objects are drawn:&lt;br /&gt;
: [[File:DefinedNumberOfObjects.PNG|Defined number of objects]]&lt;br /&gt;
: [[File:Hint.jpg|hint]] If the number of objects is 1, the objects position will be in the centre of the drawn line.&lt;br /&gt;
&lt;br /&gt;
==Draw an elliptical object==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_EllipseMode.PNG|Ellipse mode]]&lt;br /&gt;
Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039; if you want to draw oval #13#10 objects such as hills or dips. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Ellipse mode&#039;&#039;&#039;.&lt;br /&gt;
# Position the cursor at the beginning of the longer ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis.&lt;br /&gt;
# Position the cursor at the beginning of the shorter ellipse axis, then press and hold the left mouse button and drag the cursor towards the end of the axis. Release the mouse button. The help line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:DrawAnEllipse.PNG|Draw an ellipse]] &lt;br /&gt;
&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Draw an ellipse]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] The outline or ellipse line is drawn as a Bézier curve. &lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/21.htm Drawing elliptical objects]&lt;br /&gt;
&lt;br /&gt;
==Numerical drawing mode==&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_NumericMode.PNG|numeric mode]]&lt;br /&gt;
Select Numeric mode if you have measurement values or coordinate pairs for specific objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/27.htm Numeric drawing mode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a point object using distance or azimuth measurements. &lt;br /&gt;
# Select a point symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your location in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position in the drawing window.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction.&lt;br /&gt;
# Click &#039;&#039;&#039;End&#039;&#039;&#039;.&lt;br /&gt;
# The angle and distance measurements are used to position the point object.&lt;br /&gt;
: [[File:Hint.jpg|hint]] -You can change the direction from clockwise to counterclockwise, or vice-versa, by clicking the &#039;&#039;&#039;Counterclockwise&#039;&#039;&#039; or &#039;&#039;&#039;Clockwise&#039;&#039;&#039; buttons.&lt;br /&gt;
::  -You can change the unit of measurement from millimeter to meter, or vice-versa, by clicking the &#039;&#039;&#039;Millimeter&#039;&#039;&#039; or &#039;&#039;&#039;Meter&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using coordinate pairs.&lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your first coordinate pair in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small gray cross highlights the position of the first coordinate pair in the drawing window.&lt;br /&gt;
# Select the construction mode [[File:ConstructionMode.JPG|construction mode position]] &#039;&#039;&#039;Enter&#039;&#039;&#039; positions.&lt;br /&gt;
# Enter the coordinates of the second coordinate pair in mm or m and click &#039;&#039;&#039;Next&#039;&#039;&#039;. A help line appears between the first and second coordinate pair. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final coordinate pair.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Construct a line or area object using distance or azimuth measurements. &lt;br /&gt;
# Select a line or area symbol from the symbol box. &lt;br /&gt;
# Select &#039;&#039;&#039;Numeric mode&#039;&#039;&#039;.&lt;br /&gt;
# Enter the coordinates of your starting point in the &#039;&#039;&#039;Easting&#039;&#039;&#039; and &#039;&#039;&#039;Northing&#039;&#039;&#039; fields. A small cross highlights the position of the starting point in the drawing window&lt;br /&gt;
# Select the construction mode [[File:ConstructionModeTerangle.JPG|construction mode terangle]] &#039;&#039;&#039;Enter length and angle&#039;&#039;&#039;.&lt;br /&gt;
# Enter the length in mm or m in the &#039;&#039;&#039;Length&#039;&#039;&#039; field and enter the &#039;&#039;&#039;Angle&#039;&#039;&#039; in a clockwise or counterclockwise direction. A help line appears that displays the distance and azimuth from the starting point. Repeat this process as often as necessary; the help line is extended each time. Click &#039;&#039;&#039;End&#039;&#039;&#039; once you have entered the final distance and azimuth values.&lt;br /&gt;
# The sections are then transformed into the selected line or area symbol.&lt;br /&gt;
&lt;br /&gt;
==Place a Text Object==&lt;br /&gt;
&lt;br /&gt;
Text and line text symbols are available for placing text. Text symbols are generally aligned horizontally. Line text symbols follow the flow of rivers or streets.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a text object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose text frames or anchor points for placing text objects.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text frame&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor on the upper left-hand corner of the desired text frame, then click and hold the left mouse button and drag the cursor to the lower right-hand corner. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. The line break is added automatically Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:PlaceTextUsingATextFrame.PNG|Place text using a text frame]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Define a text anchor point&#039;&#039;&#039;&lt;br /&gt;
# Select a text symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Position the cursor at the point where the text is to be anchored. Release the mouse button. The text cursor for inputting text appears.&lt;br /&gt;
# Enter the desired text. Press &#039;&#039;&#039;Enter&#039;&#039;&#039; to start a new paragraph.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Place a Line Text Object&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select a Line Text symbol if you want your text to follow the flow of a curve. &lt;br /&gt;
# Select a Line Text symbol from the symbol box.&lt;br /&gt;
# Select Bézier &#039;&#039;&#039;Curve mode&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Draw a curve &#039;&#039;&#039;&lt;br /&gt;
# Once you have finished drawing the line, a help line appears as well as the text cursor for inputting text. &lt;br /&gt;
# Enter the desired text.&lt;br /&gt;
: [[File:PlaceTextUsingATextSymbol.PNG|Place text using a text symbol]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/28.htm Writing text]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit a vertex:&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectObjectAndEditVertex.PNG|Select object and edit vertex]]&lt;br /&gt;
To edit a vertex, select the Select Object and Edit Vertex editing mode. You will then be able to move, delete or change the type of vertex.&lt;br /&gt;
&lt;br /&gt;
For point objects, the middle of the symbol is represented by a large square [[File:LargeSquare.JPG|large square]]  . For line and area objects, the first point of the object is represented by a large square [[File:LargeSquare.JPG|large square]] , vertices by small squares [[File:SmallSquare.JPG|small square]] , and the last point of the object by a cross &#039;&#039;&#039;X&#039;&#039;&#039;. With Bézier curves, circle symbols [[File:CircleSymbole.JPG|circle symbol]]  are used to represent the ends of the tangents.&lt;br /&gt;
: [[File:EditVertex.PNG|Selected Bézier curves displaying the starting point, vertex, tangents and endpoint]]&lt;br /&gt;
: [[File:Camera.jpg|video available]] 	[http://www.ocad.com/howtos/25.htm Drawing curves]&lt;br /&gt;
&lt;br /&gt;
When drawing broken or dotted lines in OCAD, the dashes and spaces always have the same length. You will never get half dashes or spaces; the dashes are distributed proportionally across the entire object. However, if you add a corner vertex, the dashes before and after the vertex are calculated separately. A corner vertex is made up of two adjoining dashes; a dash point is positioned at the center of a single dash (the dash is therefore split in the middle). Corner vertices and dash points are therefore used to define the appearance of corners and intersections.&lt;br /&gt;
&lt;br /&gt;
The following functions are available for editing vertices and influencing dashed lines:&lt;br /&gt;
: [[File:Icon_RemoveVertex.PNG|remove vertex]] &#039;&#039;&#039;Remove Vertex:&#039;&#039;&#039; Remove a vertex from the object. Alternatively, you can press the Ctrl button and then click the vertex.&lt;br /&gt;
: [[File:Icon_NormalVertex.PNG|normal vertex]] &#039;&#039;&#039;Normal Vertex:&#039;&#039;&#039; Add a vertex. This will not influence a dashed line. &lt;br /&gt;
: [[File:Icon_CornerVertex.PNG|corner vertex]] &#039;&#039;&#039;Corner Vertex:&#039;&#039;&#039; Add a corner vertex. This will affect the dashed line so that it will start with a full dash from this point and/or a symbol will appear in the corner vertex. &lt;br /&gt;
: [[File:Icon_DashVertex.PNG|Dash vertex]] &#039;&#039;&#039;Dash Vertex:&#039;&#039;&#039; Add a dash vertex or turn a normal vertex into a dash vertex. This will affect the dashed line, which will start with half a dash from this point.&lt;br /&gt;
:[[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/66.htm Different point types]&lt;br /&gt;
: [[File:NormalCorner.PNG|Normal vertex and corner vertex]]&lt;br /&gt;
	&lt;br /&gt;
: [[File:NormalDashCornerVetex.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
: [[File:NormalDashCornerVertexRound.PNG|Normal vertex, dash vertex and corner vertex]] &lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg|hint]] Every vertex can be changed into a different kind of vertex. To do this, simply select the vertex type you want and then click the vertex object to change it.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/32.htm Influencing dashed lines]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl button: &#039;&#039;&#039;Trace existing objects&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Area objects are often limited by line objects. You can trace existing line or area objects without having to redraw them. &lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select a drawing mode.&lt;br /&gt;
# Press and hold the &#039;&#039;&#039;Ctrl&#039;&#039;&#039; button, then position the cursor at the point from which you want to trace the line. This does not have to be the start or end point of the line. The help line will appear with its vertices.&lt;br /&gt;
# Click and hold the left mouse button and drag the cursor to the desired point. This does not have to be the start or end point of the line.&lt;br /&gt;
# Release the mouse button. The traced line is transformed into the selected line or area symbol. &lt;br /&gt;
&lt;br /&gt;
: [[File:TraceALine.PNG|Trace a line]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: [[File:Hint.jpg|hint]] -With double lines (e.g. streets), you can trace the middle line as well as both side lines. If you do not require this option, you can deactivate it under Preferences, Drawing in the Options menu.&lt;br /&gt;
:: -Line tracing is only possible in straight, Bézier and freehand mode.&lt;br /&gt;
:: -It is possible to trace the outline of existing area objects. However, it is only possible to trace up to one half of the outline, otherwise the trace would be in the opposite direction. The point, up to which the object can be traced, is represented by a large   (the same symbol used for the first point of an object).&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/34.htm Following existing objects]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit an object&#039;&#039;&#039;&lt;br /&gt;
: [[File:Icon_SelectAndEditObject.PNG|Select and edit object]]&lt;br /&gt;
To edit an object, you must select the &#039;&#039;&#039;Select and Edit&#039;&#039;&#039; object mode. As soon as you have selected the object, the object frame appears with anchor points [[File:AnchorPoint.JPG|Anchor point]]. You can now move, rotate, cut, stretch or reduce the size of the object or use the following functions:&lt;br /&gt;
: [[File:SelectedObjetWithObjectFrame.PNG|Selected object with object frame]]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Delete.PNG|delete]] &#039;&#039;&#039;Delete:&#039;&#039;&#039; Delete the selected object. Alternatively, press the Delete button.&lt;br /&gt;
: [[File:Icon_DuplicateObject.PNG|Duplicate object]] &#039;&#039;&#039;Duplicate object:&#039;&#039;&#039; Duplicate the selected object. Alternatively, press Ctrl + C und Ctrl + V.&lt;br /&gt;
: [[File:Icon_IndicateDirectionOfAreaPatternPointOrTextObject.PNG|Indicate direction of area pattern, point or text object]] &#039;&#039;&#039;Indicate direction of area pattern, point or text object:&#039;&#039;&#039; Change the direction of the selected point or text object or the structure of the selected area object.&lt;br /&gt;
: [[File:Icon_RotateObject.PNG|rotate object]] &#039;&#039;&#039;Rotate Object:&#039;&#039;&#039; Rotate the selected object around a defined rotation point. &lt;br /&gt;
: [[File:Icon_MoveParallel.PNG|move parallel]] &#039;&#039;&#039;Move parallel:&#039;&#039;&#039; Move the selected line object in a parallel direction or stretch or reduce the size of the selected area object. &lt;br /&gt;
: &#039;&#039;&#039;Move parallel with distance&#039;&#039;&#039;&lt;br /&gt;
:[[File:Hint.jpg|hint]] -Only for line, area and line text objects&lt;br /&gt;
:: -Positive values move the object to the right side, negative to the left.&lt;br /&gt;
:: -&#039;Move&#039;: Move the selected object &lt;br /&gt;
:: -&#039;Duplicate&#039;: Make a copy and move the copy to the new position&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_Cut.PNG|cut]] &#039;&#039;&#039;Cut:&#039;&#039;&#039; Cut the selected line object or the borderline of the selected double line or area.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/70.htm Cutting]&lt;br /&gt;
: [[File:Icon_CutArea.PNG|cut area]] &#039;&#039;&#039;Cut Area:&#039;&#039;&#039; Cut the selected area object.&lt;br /&gt;
: [[File:Icon_CutHole.PNG|cut hole]] &#039;&#039;&#039;Cut Hole:&#039;&#039;&#039; Cut a hole in the selected area object.&lt;br /&gt;
&lt;br /&gt;
Area objects such as forest clearings or islands often contain holes. OCAD allows you to cut holes in area objects.&lt;br /&gt;
# Select the desired drawing mode for cutting the hole. &lt;br /&gt;
# Select the object to cut a hole in.&lt;br /&gt;
# Click the Cut Hole button.&lt;br /&gt;
# Draw the hole then press the left mouse button to cut the hole.&lt;br /&gt;
: [[File:Hint.jpg|hint]] After cutting the area OCAD selects always the smaller part of the two new areas.&lt;br /&gt;
: [[File:CutHoleFillHole.PNG|Cut a hole in an area object; fill in a hole]]&lt;br /&gt;
: a: Cut a hole in an area object, b: Fill in a hole&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FillOrMakeBorder.PNG|Fill or make border]] &#039;&#039;&#039;Fill or make border:&#039;&#039;&#039; Fill in a hole in the selected area object using an area symbol or draw a border around the hole using a line symbol. Fill in the selected line object using an area symbol or combine the selected area object with an area symbol.&lt;br /&gt;
&lt;br /&gt;
Holes in areas often need filling. With OCAD you can draw a border around a hole using a line symbol or fill in a hole using an area symbol.&lt;br /&gt;
# Select a hole by clicking it.&lt;br /&gt;
# Select a line or area symbol from the symbol box.&lt;br /&gt;
# Select &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. A border is drawn around the hole using the selected line object or it is filled in using the area object.&lt;br /&gt;
:[[File:Hint.jpg|hint]] After selecting a line or area object, you can combine it with another symbol. Select the object, then choose the desired line or area symbol from the symbol box and click &#039;&#039;&#039;Fill or make border&#039;&#039;&#039;. The duplicated object will be positioned above or below the selected object.  &lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/31.htm Holes in areas]&lt;br /&gt;
&lt;br /&gt;
: [[File:Icon_FindSelectedObjects.PNG|find selected objects]] &#039;&#039;&#039;Find selected objects:&#039;&#039;&#039; Display the selected objects in the center of the drawing window.&lt;br /&gt;
: [[File:Icon_ChangeSymbolOfObject.PNG|change symbol of object]] &#039;&#039;&#039;Change symbol of object:&#039;&#039;&#039; Assign a new symbol to the selected object.&lt;br /&gt;
: [[File:Icon_ChangeSymbolForAllObjectsWithThisSymbol.PNG|Change symbol of all objects with this symbol]] &#039;&#039;&#039;Change symbol of all objects with this symbol:&#039;&#039;&#039; Assign a new symbol to all objects with a specific symbol.&lt;br /&gt;
: [[File:Icon_ReverseObject.PNG|reverse object]] &#039;&#039;&#039;Reverse line object:&#039;&#039;&#039; Reverse the direction of the selected line, line text or area object.&lt;br /&gt;
: [[File:Camera.jpg|video available]]	[http://www.ocad.com/howtos/36.htm Reversing objects]&lt;br /&gt;
: [[File:Icon_Join.PNG|join]] &#039;&#039;&#039;Join:&#039;&#039;&#039; Join the ends of selected line objects that have the same symbol.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_Merge.PNG|merge]] &#039;&#039;&#039;Merge:&#039;&#039;&#039; Merge selected line or area objects that have the same symbol.&lt;br /&gt;
: The maximum merge tolerance is 0.25 mm.&lt;br /&gt;
: [[File:Camera.jpg|video available]] [http://www.ocad.com/howtos/37.htm Join and merge objects]&lt;br /&gt;
: [[File:Icon_ChangeToBezierCurve.PNG|to curve]] &#039;&#039;&#039;To Curve:&#039;&#039;&#039; Change the selected freehand line into a Bézier curve. Select smooth level in toolbar.&lt;br /&gt;
: [[File:Icon_ConvertToGraphicObject.PNG|to graphic]] &#039;&#039;&#039;To Graphics:&#039;&#039;&#039;	Break down the selected object into its graphical elements or display the outlines of the respective elements.&lt;br /&gt;
: [[File:Icon_‎Measure.PNG|measure]] Measure: Measure the length or area of the selected object. Measure the distance between two point objects. Measure the overall length or area of multiple line or area objects.&lt;br /&gt;
&lt;br /&gt;
Change from drawing mode to one of the editing modes (&#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039;) to edit an object. Click the &#039;&#039;&#039;Select and Edit object&#039;&#039;&#039; or &#039;&#039;&#039;Select Object and Edit Vertex&#039;&#039;&#039; button to do this. The cursor appears as either a solid or transparent arrow. &lt;br /&gt;
:[[File:Hint.jpg|hint]] A context menu appears when you press the right mouse button and you can change from drawing mode to editing mode and vice-versa.  &lt;br /&gt;
&lt;br /&gt;
By deactivating the &#039;&#039;&#039;Context menu&#039;&#039;&#039; option under &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;, &#039;&#039;&#039;GUI&#039;&#039;&#039; in the &#039;&#039;&#039;Options&#039;&#039;&#039; menu you can switch from drawing mode to editing mode, and vice-versa, by simply clicking the right mouse button.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Import files]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Select an Object]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=File&amp;diff=3064</id>
		<title>File</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=File&amp;diff=3064"/>
		<updated>2011-12-07T10:10:42Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Save as */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==New==&lt;br /&gt;
&lt;br /&gt;
[[File:Icon_New.PNG]] New button (Standard toolbar)&lt;br /&gt;
&lt;br /&gt;
Choose this command to create a new, empty map. The New Map dialog box is displayed. Choose a symbol set in this dialog box for the new map.&lt;br /&gt;
&lt;br /&gt;
==Open==&lt;br /&gt;
&lt;br /&gt;
[[File:Icon_Open.PNG]] Open button (Standard toolbar)&lt;br /&gt;
&lt;br /&gt;
Choose this command to open an existing map. The &#039;&#039;&#039;Open&#039;&#039;&#039; file dialog box is displayed.&lt;br /&gt;
&lt;br /&gt;
If the map was created with an earlier OCAD version, you will be asked if you want to convert it to the OCAD 10 format. If you answer No then the map will not be opened.&lt;br /&gt;
&lt;br /&gt;
Note: Do not use this command to restore a backup copy from a floppy disk created with the Backup command. Use the Restore command instead for this purpose&lt;br /&gt;
&lt;br /&gt;
==Open Sample Map==&lt;br /&gt;
&lt;br /&gt;
This command opens the File Open dialog with the OCAD sample files. The sample files are saved in the OCAD program subfolder &#039;Samples&#039; (e.g. &#039;C:\Program Files\OCAD\OCAD 11\Samples&#039; ).&lt;br /&gt;
&lt;br /&gt;
==Close==&lt;br /&gt;
&lt;br /&gt;
Choose this command to close the current map. If changes were made to the current map and Auto Save is switched off, then you will be asked if you want to save the changes.&lt;br /&gt;
&lt;br /&gt;
==Save==&lt;br /&gt;
&lt;br /&gt;
[[File:Icon_Save.PNG]] Save button (Standard toolbar)&lt;br /&gt;
&lt;br /&gt;
Choose this command to save on disk all changes in the current map. If the current map has no name (untitled) the Save As file dialog box will be displayed, where a name for the map can be entered.&lt;br /&gt;
&lt;br /&gt;
==Save as==&lt;br /&gt;
&lt;br /&gt;
Choose this command to save the current map under a new name. The Save As file dialog box is displayed.&lt;br /&gt;
&lt;br /&gt;
You can use this command to save the map in a previous OCAD version (6, 7, 8 or 9). In the box Save as type you can choose the format.&lt;br /&gt;
&lt;br /&gt;
To create a backup file use the [[Create_Backup_and_Restore_Backup |Create Backup]] command in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
==Open Recently Exported Documents==&lt;br /&gt;
&lt;br /&gt;
ToDo&lt;br /&gt;
&lt;br /&gt;
==Open Recently Used OCAD Files==&lt;br /&gt;
&lt;br /&gt;
ToDo&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3063</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3063"/>
		<updated>2011-12-07T10:03:18Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Run XML Script from the Command Line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XLM script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 11\Ocad11.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3062</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3062"/>
		<updated>2011-12-07T10:02:25Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Run XML script form the Command Line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XLM script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 11\Ocad11.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the paramter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3061</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3061"/>
		<updated>2011-12-07T09:40:30Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Run XML script form the Command Line */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Run XML script form the Command Line==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3060</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3060"/>
		<updated>2011-12-07T09:40:14Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* XML Script Export */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Run XML script form the Command Line==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3059</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3059"/>
		<updated>2011-12-07T09:35:48Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* BMP, GIF, JPEG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3058</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3058"/>
		<updated>2011-12-07T09:35:09Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* XML Script Print */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3057</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3057"/>
		<updated>2011-12-07T09:33:10Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3056</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3056"/>
		<updated>2011-12-07T09:24:52Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3055</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3055"/>
		<updated>2011-12-07T09:23:53Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3054</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3054"/>
		<updated>2011-12-06T16:17:37Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3053</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3053"/>
		<updated>2011-12-06T15:50:58Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3052</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3052"/>
		<updated>2011-12-06T15:50:15Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || Mode || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3051</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3051"/>
		<updated>2011-12-06T15:47:58Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode ||  || Enum. types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3050</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3050"/>
		<updated>2011-12-06T15:47:03Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Map || Enable|| Boolean || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3049</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3049"/>
		<updated>2011-12-06T15:28:32Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3048</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3048"/>
		<updated>2011-12-06T14:54:21Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3047</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3047"/>
		<updated>2011-12-06T14:52:46Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3046</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3046"/>
		<updated>2011-12-06T14:50:02Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3045</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3045"/>
		<updated>2011-12-06T14:49:42Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3044</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3044"/>
		<updated>2011-12-06T14:01:29Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Shape */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3043</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3043"/>
		<updated>2011-12-06T14:00:46Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Shape */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export\ ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3042</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3042"/>
		<updated>2011-12-06T08:31:30Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3041</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3041"/>
		<updated>2011-12-06T08:30:07Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
    &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
      &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
      &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
      &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
      &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
    &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
    &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
    &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
    &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
  &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
    &amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
    &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
    &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
    &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
    &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
    &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
    &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3040</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3040"/>
		<updated>2011-12-06T08:27:56Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
	&amp;lt;File.Export&amp;gt;&lt;br /&gt;
		&amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      		&amp;lt;format&amp;gt;SHAPE&amp;lt;/format&amp;gt;&lt;br /&gt;
		&amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
		&amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
		&amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
		&amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
		&amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
		&amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
		&amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  	&amp;lt;File.Save&amp;gt;&lt;br /&gt;
		&amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  	&amp;lt;File.Close&amp;gt;&lt;br /&gt;
		&amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3039</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3039"/>
		<updated>2011-12-06T08:27:20Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt; &lt;br /&gt;
 	&amp;lt;File.Open&amp;gt;&lt;br /&gt;
		&amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
	&amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.Export&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;lt;B&amp;gt;50&amp;lt;/B&amp;gt;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
      &amp;lt;/File.Export&amp;gt; &lt;br /&gt;
	&amp;lt;File.Export&amp;gt;&lt;br /&gt;
		&amp;lt;ExportPath&amp;gt;M:\OCAD11\Changes\11-06xx\11-0663\output&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      		&amp;lt;format&amp;gt;SHAPE&amp;lt;/format&amp;gt;&lt;br /&gt;
		&amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
		&amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
		&amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
		&amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
		&amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
		&amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
		&amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Export&amp;gt;&lt;br /&gt;
  	&amp;lt;File.Save&amp;gt;&lt;br /&gt;
		&amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  	&amp;lt;File.Close&amp;gt;&lt;br /&gt;
		&amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  	&amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3038</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3038"/>
		<updated>2011-12-06T08:00:25Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* BMP, GIF, JPEG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3037</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3037"/>
		<updated>2011-12-06T07:58:38Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* SVG (Scaleable Vector Graphics) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3036</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3036"/>
		<updated>2011-12-06T07:49:21Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3035</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3035"/>
		<updated>2011-12-06T07:47:01Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* BMP, GIF, JPEG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]|&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3034</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3034"/>
		<updated>2011-12-06T07:46:29Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* BMP, GIF, JPEG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
||-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3033</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3033"/>
		<updated>2011-12-06T07:45:17Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* BMP, GIF, JPEG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3032</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3032"/>
		<updated>2011-12-06T07:40:19Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* TIFF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3031</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3031"/>
		<updated>2011-12-06T07:39:42Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* EPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3030</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3030"/>
		<updated>2011-12-06T07:39:05Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* AI (Adobe Illustrator), PDF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3029</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3029"/>
		<updated>2011-12-06T07:38:40Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* AI (Adobe Illustrator), PDF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3028</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3028"/>
		<updated>2011-12-05T16:22:48Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* DXF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3027</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3027"/>
		<updated>2011-12-05T15:58:05Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* DXF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || AddSymbolDescription|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || mm, m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3026</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=3026"/>
		<updated>2011-12-05T13:45:53Z</updated>

		<summary type="html">&lt;p&gt;80.238.133.6: /* TIFF */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This function is only available in OCAD Professional!)&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enable || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport || Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; LayerField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String || Directory of import files &amp;lt;br&amp;gt; -1 = WGS 84, 1000 = existing grid &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.ExportOIM || File || String || html file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false Close OCAD Program &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enable|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale || Integer || e. g. 10 000&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp; || EnlargeReduceSymbols || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || all for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; ex. 101.0 &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Angles || Dataset &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; AngleField || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String || all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum. types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207,0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207,0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
 &amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Albis\albis_leer.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
 &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Albis\shp&amp;lt;/Directory&amp;gt;&lt;br /&gt;
   &amp;lt;NewOffset&amp;gt;enabled&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
   &amp;lt;Horizontally&amp;gt;670000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
   &amp;lt;Vertically&amp;gt;230000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
   &amp;lt;Angle&amp;gt;20&amp;lt;/Angle&amp;gt;&lt;br /&gt;
   &amp;lt;MapScale&amp;gt;20000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
   &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL/LayerField&amp;gt;&lt;br /&gt;
 &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;TextField&amp;gt;ID&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;101.0&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;true&amp;lt;/ReplaceExistingObjects &amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
 &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ID&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
   &amp;lt;CntFile&amp;gt;C:\Albis\cnt\Landeskarte.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
   &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
 &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
 &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
 &amp;lt;File.Save&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
   &amp;lt;File&amp;gt;C:\Albis\Albis2.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
 &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
   &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
 &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| export || file || String ||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_1_1.ocd, &amp;lt;br&amp;gt; PartialMap1_1_2.ocd,&lt;br /&gt;
|-&lt;br /&gt;
| export || coordSystem || Enumerated types || mm (paper), m (real world)&lt;br /&gt;
|-&lt;br /&gt;
| export || T, L, B, R || Float || top, left, bottom, right&lt;br /&gt;
|-&lt;br /&gt;
| export.loop || enabled &amp;lt;br&amp;gt; horizontalPages &amp;lt;br&amp;gt; verticalpages &amp;lt;br&amp;gt; horizontalOverlap &amp;lt;br&amp;gt; verticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in mm or m &amp;lt;br&amp;gt; vertical overlap in mm or m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                               // comment   &lt;br /&gt;
 &amp;lt;partialMapScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                         // first export section&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;                 // export file&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                          // paper oder real world coordinates&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                             // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                               // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
       &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
       &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
       &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;            // horizontal and vertical overlap. &lt;br /&gt;
       &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;                                              // second export section&lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
     &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
     &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
     &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
     &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
     &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;&lt;br /&gt;
       &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
     &amp;lt;/loop&amp;gt;                                                // export only one ocd file&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; 9 &amp;lt;br&amp;gt; 15 &amp;lt;br&amp;gt; 600 &amp;lt;br&amp;gt; 2 &amp;lt;br&amp;gt; 272&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enable || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| FilePrint.PartialMap || Range &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HoizontalOverlap || &amp;amp;nbsp; || Float || -12,74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || 8.74&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintGrid || Enabled || Bool || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ,c::\Export\Chlosterwald.ai‘ &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || AI, PDF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.bmp‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || BMP, GIF, JPEG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Quality|| Integer || only for JPEG, [0..100]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if enabled = true] &amp;lt;br&amp;gt; [only if enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.eps ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || EPS&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scaleable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.svg ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format|| Enumerated types || SVG&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| CompressFile || Boolean || true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; If spotColors is enabled and &amp;lt;br&amp;gt; Combine=false then the filename is &amp;lt;br&amp;gt; ‚c:\Export\Chlosterwald.Spotcolor name.tif ‘&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Format|| Enumerated types || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|File.Export|| Resolution || Integer || in dpi [40..2540] &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Anti-Aliasing || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export|| ColorCorrection || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enumerated types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enumerated types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Combine || Bool || true, false [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if color = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT &amp;lt;br&amp;gt; 4 = FaxG4 &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File || String || eg.: ‚c:\Export\Chlosterwald.dxf ‘&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || DXF&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportScale|| Integer || e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertAnsiToOem|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ConvertOemToUnicode|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ObjectsSelectedSymbols|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportAsSplines|| Boolean|| true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Coordinates|| Enumerated types || mm, m&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ExportPath || String ||  eg.: ‚c:\Export ‘ (only path name)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Format || Enumerated types || SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects || Boolean||  true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Dataset || String || all for &#039;All objects&#039; &amp;lt;br&amp;gt; or index eg.: 2 (Objects in dataset with index = 2)&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || WordWrap || Boolean || true, false &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || ProjectionFile || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example export an AI file and some BMP tiles. Each exportScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                           // comment:&lt;br /&gt;
  &amp;lt;exportScript&amp;gt;&lt;br /&gt;
    &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                     // first export section &lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\test.ai&amp;lt;/file&amp;gt;                    // export file&lt;br /&gt;
      &amp;lt;format&amp;gt;AI&amp;lt;/format&amp;gt;                               // file format&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
 &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
 &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;                                               // coordinates for the partial map&lt;br /&gt;
 &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
 &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
 &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;printScale&amp;gt;10000&amp;lt;/printScale&amp;gt;                         // export scale&lt;br /&gt;
      &amp;lt;colors&amp;gt;normal&amp;lt;/colors&amp;gt;                           // cmky or spot colors&lt;br /&gt;
    &amp;lt;/export&amp;gt;  &lt;br /&gt;
 &amp;lt;export id=&amp;quot;2&amp;quot;&amp;gt;                                        // second export section&lt;br /&gt;
      &amp;lt;file&amp;gt;c:\export\exp.bmp&amp;lt;/file&amp;gt;&lt;br /&gt;
      &amp;lt;format&amp;gt;BMP&amp;lt;/format&amp;gt;&lt;br /&gt;
 &amp;lt;resolution&amp;gt;300&amp;lt;/resolution&amp;gt;                           // raster resolution&lt;br /&gt;
 &amp;lt;anti-alias&amp;gt;true&amp;lt;/anti-alias&amp;gt;&lt;br /&gt;
     &amp;lt;colorCorrection&amp;gt;true&amp;lt;/colorCorrection&amp;gt;&lt;br /&gt;
 &amp;lt;partialMap&amp;gt;&lt;br /&gt;
        &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/partialMap&amp;gt;&lt;br /&gt;
 &amp;lt;tiles&amp;gt;                                                // tiles export&lt;br /&gt;
        &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;                         // tile dimensions &lt;br /&gt;
 &amp;lt;width&amp;gt;500&amp;lt;/width&amp;gt;&lt;br /&gt;
 &amp;lt;height&amp;gt;500&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;/tiles&amp;gt;&lt;br /&gt;
    &amp;lt;/export&amp;gt;&lt;br /&gt;
  &amp;lt;/exportScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Database]]&lt;br /&gt;
&lt;br /&gt;
Next Chapter: [[Course Setting for Orienteering]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>80.238.133.6</name></author>
	</entry>
</feed>