<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Refresh map to reflect changes to layer in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771165#M613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro 2.2, we'll be adding a method to the MapView class called Redraw(). &amp;nbsp;This method will take a boolean parameter named clearCache. &amp;nbsp;If set to true, this will reset any current features caches on layers in the view. &amp;nbsp;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a work-around at 2.1, you can call the Validate Network Topology geoprocessing tool via the Geoprocessing API, as shown &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geoprocessing#how-to-execute-a-model-tool"&gt;here&lt;/A&gt;. &amp;nbsp;This will correctly redraw the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 19:03:40 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2018-02-07T19:03:40Z</dc:date>
    <item>
      <title>Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771164#M612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for something similar to IActiveView.Refresh from the ArcObjects world. My use case is that I'm running a tool that updates the features in the layer, and I need a way to get the map to re-draw from my code similar to how the out-of-the-box tools are doing automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my particular example, I am using UNME and am validating the Utility Network topology, which causes the Dirty Areas polygon layer to remove polygons for areas that are valid. I tried looking around for a way to invalidate just that layer but wasn't having much luck. Any clues for how to get the layer to refresh properly? This layer is coming from a feature service published through ArcGIS Enterprise per requirements of the UNME.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771164#M612</guid>
      <dc:creator>DanielRouleau</dc:creator>
      <dc:date>2018-02-07T17:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771165#M613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro 2.2, we'll be adding a method to the MapView class called Redraw(). &amp;nbsp;This method will take a boolean parameter named clearCache. &amp;nbsp;If set to true, this will reset any current features caches on layers in the view. &amp;nbsp;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a work-around at 2.1, you can call the Validate Network Topology geoprocessing tool via the Geoprocessing API, as shown &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geoprocessing#how-to-execute-a-model-tool"&gt;here&lt;/A&gt;. &amp;nbsp;This will correctly redraw the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 19:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771165#M613</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-02-07T19:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771166#M614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did this Redraw Class ever get created?&amp;nbsp; I need to redraw my feature class as I have multiple users working in the same geographic area and being able to trigger this would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 16:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771166#M614</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-02-19T16:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771167#M615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's planned for 2.2, shipping summer 2018.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 18:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771167#M615</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-02-20T18:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771168#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is a workaround to refresh the feature cache for a particular layer?&amp;nbsp; Is there something I am not finding here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 12:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771168#M616</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-02-21T12:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771169#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there's no workaround at this time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 18:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771169#M617</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-02-21T18:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771170#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to confirm, this method will be available in Pro 2.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771170#M618</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-05-18T17:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771171#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its there now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 20:54:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771171#M619</guid>
      <dc:creator>EricO_Neal1</dc:creator>
      <dc:date>2018-06-28T20:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771172#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm interesting in using this new method, but can't find any documentation or examples.&amp;nbsp;My attempts to make a call to it fail, but wanted to follow-up to see if anyone had anything to share.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 14:01:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771172#M620</guid>
      <dc:creator>CharlesSummerhill</dc:creator>
      <dc:date>2018-07-18T14:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map to reflect changes to layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771173#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API reference is here:&amp;nbsp;&lt;A class="link-titled" href="http://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic20822.html" title="http://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic20822.html"&gt;http://prodev.arcgis.com/en/pro-app/sdk/api-reference/#topic20822.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share more about what isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 19:13:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/refresh-map-to-reflect-changes-to-layer/m-p/771173#M621</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-07-18T19:13:53Z</dc:date>
    </item>
  </channel>
</rss>

