Tuesday, October 10, 2017

Spotfire - Change Document Property (Ironpython)

e.g.
if col.Name == "Vertical Depth (ft)":
col.Properties['DefaultContinuousColorScheme'] = "colorMetricGradientRainbow"
col.Properties['DefaultCategoricalColorScheme'] = "colorMetricGradient"
col.Properties['ptyMapColorStyle']="[Vertical Depth (ft)]"
col.Properties['ptyNameOriginal']="Vertical Depth"
col.Properties['ptyUnitDefault']="ft"
col.Properties['ptyUnitImperial']="ft"
col.Properties['ptyUnitMetric']="m"
col.Properties['ptyUnitConversion']="0.3048"
col.Properties['ptyNormalizationFactor']="1000"
col.Properties['ptyNormalizationUnit']="thousand ft"

No comments:

Post a Comment