Dynamic height extrusion

653
2
01-11-2018 06:06 AM
EugenReiswich
New Contributor

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

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

It's supposed to "just work" and automatically update. Can you share an example that demonstrates the problem?

0 Kudos
dotMorten_esri
Esri Notable Contributor

Just realized that there might be a known bug here with polygons, and it should work with polylines.

0 Kudos