DIAdem Help

Property: CachePath for Map

  • Updated2024-09-12
  • 2 minute(s) read

Property: CachePath for Map

Specifies the path where DIAdem saves the current map data in a cache.

Object.CachePath
ObjectMap
Object with this property
Object.CachePathString with read and write access
Note  You can only save the current map data in a cache if you set the UseCache property to TRUE.

The following example creates a map display and buffers the map material:

VBScriptPython

 

View.ActiveSheet.ActiveArea.DisplayObjType = "Map"
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj
oMyObj.MapType = "OSM Mapnik"
oMyObj.UseCache = TRUE
oMyObj.CachePath = "C:\TEMP\Map\"
oMyObj.ZoomLevel = 14