<?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: Accessing a Map Documents Bookmarks through Python and ArcPy in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590677#M6454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This functionality is great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it also possible to create a polygon shapefile from all the bookmarks in the mxd?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I also want a map with the overview, indicating al the "squares" of the different bookmarks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does someone know how to do it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here is a help topic sample.&amp;nbsp; If you join the beta community you'll be able to try out so much more of the arcpy.mapping functionality that was added at 10.1.&lt;BR /&gt;&lt;BR /&gt;ListBookmarks example 2 &lt;BR /&gt;Similar to example 1, the following script will loop through each bookmark in the Transportation data frame, set the data frame extent, and export the data frame to a JPEG file.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd")
df = arcpy.mapping.ListDataFrames(mxd, "Transportation")[0]
for bkmk in arcpy.mapping.ListBookmarks(mxd, data_frame=df):
&amp;nbsp;&amp;nbsp;&amp;nbsp; df.extent = bkmk.extent
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFile = r"C:\Project\Output\\" + bkmk.name + ".jpg"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToJPEG(mxd, outFile, df)
del mxd&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:22:21 GMT</pubDate>
    <dc:creator>AnneliesBeel</dc:creator>
    <dc:date>2021-12-12T01:22:21Z</dc:date>
    <item>
      <title>Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590669#M6446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to access the bookmarks within a map document with arcpy? I have a mxd that has several bookmarks, and I'd like to write a script that zooms to the extent of each bookmark, and exports a pdf.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 22:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590669#M6446</guid>
      <dc:creator>JayDouillard</dc:creator>
      <dc:date>2010-07-12T22:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590670#M6447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good enhancement. This functionality is not available at 10. However, it is being investigated for a future release - perhaps 10.1. For your records, I will post the NIM tracking number when I have it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 18:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590670#M6447</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2010-07-23T18:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590671#M6448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Meanwhile, someone could help us here. The ESRI help has example scripts in C# and Vb.NET that could be converted to Python using the comtypes module as demonstrated by Mark Cederholm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002w1000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002w1000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;This could be made into a simple script or module that would do the zooming for us until 10.1 arrives.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An excellent little example of extending ArcPy using ArcObjects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jul 2010 09:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590671#M6448</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2010-07-25T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590672#M6449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Good enhancement. This functionality is not available at 10. However, it is being investigated for a future release - perhaps 10.1. For your records, I will post the NIM tracking number when I have it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The tracking number for this enhancement is NIM060058. The plan is to have it in 10.1; however, it is too early to guarantee inclusion at this point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 18:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590672#M6449</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2010-08-16T18:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590673#M6450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone converted Kimos link&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/a...000002w1000000"&gt;http://help.arcgis.com/en/sdk/10.0/a...000002w1000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;To a Python script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure many of us can use this conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 18:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590673#M6450</guid>
      <dc:creator>AaronPaul</dc:creator>
      <dc:date>2010-11-16T18:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590674#M6451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are on Arc10 SP2 now and I am not seeing enhancement NIM060058 in the "issues addressed" page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://downloads2.esri.com/support/downloads/other_/ArcGIS-10sp2-issues.htm#desktop-sp2"&gt;http://downloads2.esri.com/support/downloads/other_/ArcGIS-10sp2-issues.htm#desktop-sp2&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if this got passed over, or am I just not seeing it, etc....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ d&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 19:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590674#M6451</guid>
      <dc:creator>DanielOchoa</dc:creator>
      <dc:date>2011-10-05T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590675#M6452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At 10.1 there is a arcpy.mapping.ListBookmarks() function that provides a list of names and extents.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 06:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590675#M6452</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2011-10-06T06:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590676#M6453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is a help topic sample.&amp;nbsp; If you join the beta community you'll be able to try out so much more of the arcpy.mapping functionality that was added at 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ListBookmarks example 2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Similar to example 1, the following script will loop through each bookmark in the Transportation data frame, set the data frame extent, and export the data frame to a JPEG file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd")
df = arcpy.mapping.ListDataFrames(mxd, "Transportation")[0]
for bkmk in arcpy.mapping.ListBookmarks(mxd, data_frame=df):
&amp;nbsp;&amp;nbsp;&amp;nbsp; df.extent = bkmk.extent
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFile = r"C:\Project\Output\\" + bkmk.name + ".jpg"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToJPEG(mxd, outFile, df)
del mxd&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590676#M6453</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2021-12-12T01:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590677#M6454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This functionality is great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it also possible to create a polygon shapefile from all the bookmarks in the mxd?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I also want a map with the overview, indicating al the "squares" of the different bookmarks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does someone know how to do it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here is a help topic sample.&amp;nbsp; If you join the beta community you'll be able to try out so much more of the arcpy.mapping functionality that was added at 10.1.&lt;BR /&gt;&lt;BR /&gt;ListBookmarks example 2 &lt;BR /&gt;Similar to example 1, the following script will loop through each bookmark in the Transportation data frame, set the data frame extent, and export the data frame to a JPEG file.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd")
df = arcpy.mapping.ListDataFrames(mxd, "Transportation")[0]
for bkmk in arcpy.mapping.ListBookmarks(mxd, data_frame=df):
&amp;nbsp;&amp;nbsp;&amp;nbsp; df.extent = bkmk.extent
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFile = r"C:\Project\Output\\" + bkmk.name + ".jpg"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToJPEG(mxd, outFile, df)
del mxd&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590677#M6454</guid>
      <dc:creator>AnneliesBeel</dc:creator>
      <dc:date>2021-12-12T01:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590678#M6455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone please help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe someone from esri? Or should I email the helpdesk?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 07:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590678#M6455</guid>
      <dc:creator>AnneliesBeel</dc:creator>
      <dc:date>2012-09-03T07:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590679#M6456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can build the polygons from the bookmark extents using the Polygon class.&amp;nbsp; Check out the following help topic/sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/Polygon/018z00000061000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/Polygon/018z00000061000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, check out the 4th example in the arcpy.mapping DataFrame class help.&amp;nbsp; This also creates a polygon feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/DataFrame/00s300000003000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/DataFrame/00s300000003000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 13:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590679#M6456</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-09-04T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590680#M6457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Annelies,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great idea for a sample, and good timing...I just wrote a script that will do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os

# The map with the bookmarks
mxd = arcpy.mapping.MapDocument(r"C:\Project\BookmarksToFeatures.mxd")

# The output feature class to be created -
# This feature class will store the bookmarks as features
outFC = r'C:\Project\BookmarkFeatures.gdb\Bookmarks'

# A template feature class that contains the attribute schema
# E.g. a "name" field to store the bookmark name
template = r'C:\Project\BookmarkFeatures.gdb\Template'

if arcpy.Exists(outFC):
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(outFC)
arcpy.CreateFeatureclass_management(os.path.dirname(outFC),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os.path.basename(outFC), 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "POLYGON", template, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatial_reference=template)

cur = arcpy.da.InsertCursor(outFC, ["SHAPE@", "Name"])
array = arcpy.Array()
for bkmk in arcpy.mapping.ListBookmarks(mxd):
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(arcpy.Point(bkmk.extent.XMin, bkmk.extent.YMin))
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(arcpy.Point(bkmk.extent.XMin, bkmk.extent.YMax))
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(arcpy.Point(bkmk.extent.XMax, bkmk.extent.YMax))
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(arcpy.Point(bkmk.extent.XMax, bkmk.extent.YMin))
&amp;nbsp;&amp;nbsp;&amp;nbsp; # To close the polygon, add the first point again
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.add(arcpy.Point(bkmk.extent.XMin, bkmk.extent.YMin))
&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.insertRow([arcpy.Polygon(array), bkmk.name])
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.removeAll()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590680#M6457</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2021-12-12T01:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Map Documents Bookmarks through Python and ArcPy</title>
      <link>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590681#M6458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be possible to modify your bookmarks script to reference individual FC tiles to make up a reference type index using a similar process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 05:01:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/accessing-a-map-documents-bookmarks-through-python/m-p/590681#M6458</guid>
      <dc:creator>CPoynter</dc:creator>
      <dc:date>2012-09-14T05:01:10Z</dc:date>
    </item>
  </channel>
</rss>

