<?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: Adding a bookmark with python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552978#M43171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listbookmarks.htm"&gt;&lt;STRONG&gt;ListBookmarks &lt;/STRONG&gt;&lt;/A&gt;but.... nothing under the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm"&gt;&lt;STRONG&gt;functions list&lt;/STRONG&gt;&lt;/A&gt;....&amp;nbsp; arcpy mapping focuses on getting rather than giving for the mostpart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2017 22:09:58 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-11-20T22:09:58Z</dc:date>
    <item>
      <title>Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552977#M43170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to add a bookmark to the mxd of the current dataframe's extent, using python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552977#M43170</guid>
      <dc:creator>SteveGautreau</dc:creator>
      <dc:date>2017-11-20T22:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552978#M43171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listbookmarks.htm"&gt;&lt;STRONG&gt;ListBookmarks &lt;/STRONG&gt;&lt;/A&gt;but.... nothing under the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm"&gt;&lt;STRONG&gt;functions list&lt;/STRONG&gt;&lt;/A&gt;....&amp;nbsp; arcpy mapping focuses on getting rather than giving for the mostpart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552978#M43171</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-20T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552979#M43172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This however seems to apply to bookmarks that already exist in the map.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than setting the dataframe extent to a given bookmark, I want to create a bookmark based on the&amp;nbsp;current dataframe extent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552979#M43172</guid>
      <dc:creator>SteveGautreau</dc:creator>
      <dc:date>2017-11-20T22:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552980#M43173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you missed the last link... you have to have the bookmarks already... there is no way in the mapping module (aka arcpy) to do this.&amp;nbsp; It doesn't even exist in ArcGIS pro either.&lt;/P&gt;&lt;P&gt;So short of some potential arcobjects/.Net/other development language, it can't be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now... if you have a bookmark, you can get it. That is a different question and that can be done. Meaning that you should be able to get the extent of the bookmark (no guarantee, I haven't looked into it given your initial question).&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/extent.htm"&gt;&lt;STRONG&gt;Extent&lt;/STRONG&gt;&lt;/A&gt; object... then from the extent object, you can go to the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/dataframe-class.htm"&gt;&lt;STRONG&gt;Dataframe&lt;/STRONG&gt;&lt;/A&gt; object and there is a pantoextent and zoomtoselected features etc etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in theory you should be able to use existing bookmarks... just not create them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552980#M43173</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-20T22:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552981#M43174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan.  Yes I am able to reference bookmarks that already exist in&lt;/P&gt;&lt;P&gt;arcpy.  I figured the answer was the one you gave me - Its not possible to&lt;/P&gt;&lt;P&gt;add bookmarks except with the GUI of arcgis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you kindly for the quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 23:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552981#M43174</guid>
      <dc:creator>SteveGautreau</dc:creator>
      <dc:date>2017-11-20T23:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a bookmark with python</title>
      <link>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552982#M43175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 23:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-a-bookmark-with-python/m-p/552982#M43175</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-20T23:24:44Z</dc:date>
    </item>
  </channel>
</rss>

