from Spotfire.Dxp.Application.Visuals import *
v = viz.As[VisualContent]()
for i in v.Layers:
if i.Title == 'County_shape':
if i.Enabled == True:
i.Enabled == False
else:
i.Enabled == True
No comments:
Post a Comment