CIMTinNodeElevationRenderer Class
Elevation Node Renderer - Equal Breaks
// applies to TIN layers only
var equalBreaksNodeRendererDef = new TinNodeClassBreaksRendererDefinition();
equalBreaksNodeRendererDef.BreakCount = 7;
if (tinLayer.CanCreateRenderer(equalBreaksNodeRendererDef))
{
CIMTinRenderer renderer = tinLayer.CreateRenderer(equalBreaksNodeRendererDef);
if (tinLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Edges))
tinLayer.SetRenderer(renderer, SurfaceRendererTarget.Edges);
}
Elevation Node Renderer - Defined Interval
// applies to TIN layers only
var defiendIntervalNodeRendererDef = new TinNodeClassBreaksRendererDefinition();
defiendIntervalNodeRendererDef.ClassificationMethod = ClassificationMethod.DefinedInterval;
defiendIntervalNodeRendererDef.IntervalSize = 4;
defiendIntervalNodeRendererDef.SymbolTemplate = nodeSymbol.MakeSymbolReference();
if (tinLayer.CanCreateRenderer(defiendIntervalNodeRendererDef))
{
CIMTinRenderer renderer = tinLayer.CreateRenderer(defiendIntervalNodeRendererDef);
if (tinLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Edges))
tinLayer.SetRenderer(renderer, SurfaceRendererTarget.Edges);
}
Elevation Node Renderer - Standard Deviation
// applies to TIN layers only
var stdDevNodeRendererDef = new TinNodeClassBreaksRendererDefinition();
stdDevNodeRendererDef.ClassificationMethod = ClassificationMethod.StandardDeviation;
stdDevNodeRendererDef.DeviationInterval = StandardDeviationInterval.OneHalf;
stdDevNodeRendererDef.ColorRamp = ColorFactory.Instance.GetColorRamp("Cyan to Purple");
if (tinLayer.CanCreateRenderer(stdDevNodeRendererDef))
{
CIMTinRenderer renderer = tinLayer.CreateRenderer(stdDevNodeRendererDef);
if (tinLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Edges))
tinLayer.SetRenderer(renderer, SurfaceRendererTarget.Edges);
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.