HOW TO
This document provides Avenue code which will delay drawspeed of individual themes in a view.
Code:
'This script assumes a view is the active document
theView = av.GetActiveDoc
theThemeList = theView.GetThemes
themeCount = theThemeList.Count
themeStart = themeCount - 1
for each t in themeStart .. 0 'To draw from the bottom up
theTheme = theThemeList.Get(t)
theTheme.SetVisible(true)
theView.GetDisplay.Flush
' Experiment with this for the delay
numDelay = 3 'In seconds
numStart = Date.Now.AsSeconds
while (( Date.Now.AsSeconds - numStart ) < numDelay)
end
end
Article ID:000005077
Get help from ArcGIS experts
Download the Esri Support App