---
name: "diag_exportTerrainSVG"
type: command
status: ok
groups: ["Diagnostic"]
arma3_since: "2.02"
branch: "diag"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_exportTerrainSVG
revid: 349370
updated: 2023-11-08T15:35:12Z
---

# diag_exportTerrainSVG

*Command · Diagnostic · Arma 3 v2.02 · branch: diag*

## Description

Like the old TOPOGRAPHY cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.

## Syntax

```sqf
diag_exportTerrainSVG [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]
```

**Parameters:**

- `filePath`: [String](../topics/String.md) - path on disk. File name and extension have to be included
- `drawLocationNames`: [Boolean](../topics/Boolean.md) - whether or not to draw location names
- `drawGrid`: [Boolean](../topics/Boolean.md) - whether or not to draw grid
- `drawCountlines`: [Boolean](../topics/Boolean.md) - whether or not to count lines
- `drawTreeObjects`: [Boolean](../topics/Boolean.md) - whether or not to draw trees
- `drawMountainHeightpoints`: [Boolean](../topics/Boolean.md) - whether or not to draw mountain height spots
- `simpleRoads`: [Boolean](../topics/Boolean.md) - simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
diag_exportTerrainSVG ["C:\Users\USERNAME\Desktop\Stratis_Map.svg", true, true, true, true, true, false]; // replace USERNAME with your username!
```

## See also

Arma 3: Diagnostics Exe

<sub>Source: [BI Community Wiki — diag exportTerrainSVG](https://community.bistudio.com/wiki/diag_exportTerrainSVG) (revision 349370).</sub>
