AnsweredAssumed Answered

Dynamic height extrusion

Question asked by ereiswich on Jan 11, 2018
Latest reply on Jan 11, 2018 by mnielsen-esristaff

Hi folks, 

 

we are working on 3D scene view and use SceneProperties to code the height of Polygons. 

Snippet:

var renderer = new SimpleRenderer{     SceneProperties =    {         ExtrusionMode = ExtrusionMode.BaseHeight,         ExtrusionExpression = "[height]"    } };
....
graphic.Attributes.Add("height", height);

However, we would like to adjust the height during the runtime of an application, depending e.g. on the zoom level. How do we instruct the ArcGIS-framework to repaint the graphics on a GraphicsLayer once we've adjusted the height value? As we've got about 5000 Graphics we would like to avoid removing all graphics and create new one everytime the height changes. Is there any solution?

 

Kind Regards, 

Eugen

Outcomes