<?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 how to auto pan the map in dataview in arcmap? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-auto-pan-the-map-in-dataview-in-arcmap/m-p/1352847#M69281</link>
    <description>I have create a python-addin with two buttons as 'Start' and 'End'. In 'Start', I use 'SearchCursor' to get feature's geometry and "df.panToExtent(geo.extent)" to pan to the feature's extent, and 'refreshAcitveView', ‘’time.sleep(2) ‘ , then continue to next feature, but the map dataview doesn't move as I expected. If I use 'break' in curs loop, then it can pan to the first feature's extent. So is there any idea? If the 'Start' can realise the function I expected, then I want to know how to stop the "auto pan" in 'End' button, thank you.</description>
    <pubDate>Thu, 23 Nov 2023 02:54:03 GMT</pubDate>
    <dc:creator>pyfans</dc:creator>
    <dc:date>2023-11-23T02:54:03Z</dc:date>
    <item>
      <title>how to auto pan the map in dataview in arcmap?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-auto-pan-the-map-in-dataview-in-arcmap/m-p/1352847#M69281</link>
      <description>I have create a python-addin with two buttons as 'Start' and 'End'. In 'Start', I use 'SearchCursor' to get feature's geometry and "df.panToExtent(geo.extent)" to pan to the feature's extent, and 'refreshAcitveView', ‘’time.sleep(2) ‘ , then continue to next feature, but the map dataview doesn't move as I expected. If I use 'break' in curs loop, then it can pan to the first feature's extent. So is there any idea? If the 'Start' can realise the function I expected, then I want to know how to stop the "auto pan" in 'End' button, thank you.</description>
      <pubDate>Thu, 23 Nov 2023 02:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-auto-pan-the-map-in-dataview-in-arcmap/m-p/1352847#M69281</guid>
      <dc:creator>pyfans</dc:creator>
      <dc:date>2023-11-23T02:54:03Z</dc:date>
    </item>
  </channel>
</rss>

