<?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 Get Map rotation in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/get-map-rotation/m-p/457679#M5011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ive created a vb macro that will create a text file at the seme place as my mxd file.&amp;nbsp; The text file contain some information about my mxd like the name of the mxd.&amp;nbsp; I need to had the rotation of the active dataframe but I can't find the way to do that.&amp;nbsp; I suppose it's simple but I can't get it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Help on how to get the maprotation to a text string?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tnx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 16:42:36 GMT</pubDate>
    <dc:creator>FrancisMoisan</dc:creator>
    <dc:date>2011-01-06T16:42:36Z</dc:date>
    <item>
      <title>Get Map rotation</title>
      <link>https://community.esri.com/t5/mapping-questions/get-map-rotation/m-p/457679#M5011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ive created a vb macro that will create a text file at the seme place as my mxd file.&amp;nbsp; The text file contain some information about my mxd like the name of the mxd.&amp;nbsp; I need to had the rotation of the active dataframe but I can't find the way to do that.&amp;nbsp; I suppose it's simple but I can't get it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Help on how to get the maprotation to a text string?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tnx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 16:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/get-map-rotation/m-p/457679#M5011</guid>
      <dc:creator>FrancisMoisan</dc:creator>
      <dc:date>2011-01-06T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Map rotation</title>
      <link>https://community.esri.com/t5/mapping-questions/get-map-rotation/m-p/457680#M5012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Francis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At 10.0, if your mxd is in page layout view, the mxd.activeView returns "PAGE_LAYOUT" (and not the active data frame within the layout).&amp;nbsp; You would need to find the data frame by name (or loop through each df) and return the rotation accordingly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are in data view, the mxd.activeView returns the active dataframe.&amp;nbsp; At that point you can get the df.rotation value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At 10.1 we plan to introduce a new MapDocument property called ActiveDataFrame which will be r/o and will return a reference to a data frame object regardless of data view or layout view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 14:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/get-map-rotation/m-p/457680#M5012</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-01-07T14:20:34Z</dc:date>
    </item>
  </channel>
</rss>

