{"name":"diag_exportTerrainSVG","operator":null,"title":"diag exportTerrainSVG","type":"command","url":"https://community.bistudio.com/wiki/diag_exportTerrainSVG","revid":349370,"updated":"2023-11-08T15:35:12Z","groups":["Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.02"}],"since":{"game":"arma3","name":"Arma 3","version":"2.02"},"arma3_since":"2.02","branch":"diag","locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Like the old TOPOGRAPHY cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.","syntaxes":[{"syntax":"diag_exportTerrainSVG [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]","since":null,"effect":null,"exec":null,"params":[{"name":"filePath","type":"String","optional":false,"default":null,"description":"path on disk. File name and extension have to be included","types":["String"],"since":null,"text":"filePath: String - path on disk. File name and extension have to be included"},{"name":"drawLocationNames","type":"Boolean","optional":false,"default":null,"description":"whether or not to draw location names","types":["Boolean"],"since":null,"text":"drawLocationNames: Boolean - whether or not to draw location names"},{"name":"drawGrid","type":"Boolean","optional":false,"default":null,"description":"whether or not to draw grid","types":["Boolean"],"since":null,"text":"drawGrid: Boolean - whether or not to draw grid"},{"name":"drawCountlines","type":"Boolean","optional":false,"default":null,"description":"whether or not to count lines","types":["Boolean"],"since":null,"text":"drawCountlines: Boolean - whether or not to count lines"},{"name":"drawTreeObjects","type":"Boolean","optional":false,"default":null,"description":"whether or not to draw trees","types":["Boolean"],"since":null,"text":"drawTreeObjects: Boolean - whether or not to draw trees"},{"name":"drawMountainHeightpoints","type":"Boolean","optional":false,"default":null,"description":"whether or not to draw mountain height spots","types":["Boolean"],"since":null,"text":"drawMountainHeightpoints: Boolean - whether or not to draw mountain height spots"},{"name":"simpleRoads","type":"Boolean","optional":false,"default":null,"description":"simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width","types":["Boolean"],"since":null,"text":"simpleRoads: Boolean - simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]","types":["Array"]}}],"examples":[{"text":"```sqf\ndiag_exportTerrainSVG [\"C:\\Users\\USERNAME\\Desktop\\Stratis_Map.svg\", true, true, true, true, true, false]; // replace USERNAME with your username!\n```","code":["diag_exportTerrainSVG [\"C:\\Users\\USERNAME\\Desktop\\Stratis_Map.svg\", true, true, true, true, true, false]; // replace USERNAME with your username!"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Diagnostics Exe"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Arma 3: Scripting Commands: Diagnostic Branch","Command Group: Diagnostic","Introduced with Arma 3 version 2.02","Scripting Commands"]}