I'm using SketchEditor.ReplaceGeometry to update its geometry, but the current sketch doesn't redraw to reflect the new geometry. Am I missing something? [Update:] I see that the GeometryChanged event isn't fired either.
[100.1 WPF]
I figured it out. I had the StartAsync drawAndEdit parameter set to false.
It turns out that ReplaceGeometry is not actually replacing the geometry. If I get the SketchEditor.Geometry after calling ReplaceGeometry, it's still the old geometry.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.