<?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: Can you set the reference scale of a Map using arcpy.mp? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654824#M50990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news, sometime in the last few years it got added in as the &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm#P_GUID-CD5119D8-1DD8-46A3-9051-3DFE58C6B5A6"&gt;referenceScale property&lt;/A&gt; on the&amp;nbsp;Map object&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm"&gt;Map—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Dec 2019 01:20:05 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2019-12-29T01:20:05Z</dc:date>
    <item>
      <title>Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654815#M50981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the arcpy.mp module to access and export maps from an ArcGIS Pro project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to figure out how to manipulate layouts, mapframes and cameras etc to zoom and scale the display, but I can't figure out yet how to set or change the reference scale of a given map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can obviously do this manually within Pro itself, but I can't find a property on the Map object or anywhere that allows me to set this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654815#M50981</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-28T21:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654816#M50982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't&lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/main/arcgis-pro-arcpy-reference.htm"&gt;&lt;STRONG&gt; here is it&lt;/STRONG&gt;&lt;/A&gt; which is the arcpy model for Pro.&amp;nbsp; You think it would be in the &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/alphabeticallistofclasses.htm"&gt;&lt;STRONG&gt;mapping section&lt;/STRONG&gt;&lt;/A&gt; but it is not.&lt;/P&gt;&lt;P&gt;So you are looking in all the right sections.&amp;nbsp; Even if you can read a property doesn't mean you can set something else that might emulate what you are looking for.&amp;nbsp; There are many read-only properties and fewer read/write ones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654816#M50982</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-09-28T21:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654817#M50983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I looked through there but couldn't find it anywhere, I was hoping I missed it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654817#M50983</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-28T21:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654818#M50984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shall we hope that we are both blind in this regard &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654818#M50984</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-09-28T21:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654819#M50985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it were there, I would expect it in the arcpy.mp.Map class:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm"&gt;Map—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is clearly not there.&amp;nbsp;I don't see it in the .NET SDK either.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic12546.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic12546.html"&gt;ArcGIS Pro 2.0 API Reference Guide&lt;/A&gt;&amp;nbsp;- Map Control&amp;nbsp;&lt;STRONG&gt;UPDATE&amp;nbsp;&lt;/STRONG&gt;found it &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11892.html"&gt;here&lt;/A&gt; in the SDK doc.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt; It is there now with ArcGIS Pro 2.4 on the &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm#P_GUID-CD5119D8-1DD8-46A3-9051-3DFE58C6B5A6"&gt;Map object properties.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654819#M50985</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-09-28T22:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654820#M50986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Curtis - I agree that the 'Map' class is where I would expect it to be and it is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I also thought possibly it would be on the 'MapFrame' class??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the arcpy.mapping module, it is present on the 'DataFrame' class as a property that can be set. So I'm picking that it is something that has just not been exposed yet in the mp module. Hopefully they will add it at some point soon. In the scheme of things, should be relatively easy as we know that the property already exists (because we can manipulate it manually within Pro itself).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 00:14:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654820#M50986</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-29T00:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654821#M50987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure and log an idea or post a tech support incident on this. The squeaky wheel gets the grease; over the years I've seen a lot of good ideas from me and my colleagues show up in the software.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 22:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654821#M50987</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-09-29T22:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654822#M50988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! I found it here in the .NET API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS.Desktop.Mapping Namespace &amp;gt; Map Class : SetReferenceScale Method&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11892.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11892.html"&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11892.html&lt;/A&gt;&amp;nbsp;:&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 22:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654822#M50988</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-09-29T22:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654823#M50989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ArcMap 10.6.1&lt;/P&gt;&lt;P&gt;(using the new arcpy.mapping module NOT arcpy.mp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MapDocument&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;activeDataFrame&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;referenceScale‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;returns: u'1:&lt;EM&gt;{YourCurrentRefenceScale}&lt;/EM&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a bonus:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MapDocument&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;activeDataFrame&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;referenceScale &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"1:1000"&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;will set the Current Reference Scale to 1000 and Refresh the ActiveView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MapDocument&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;activeDataFrame&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;referenceScale &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"1:0"&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;will Clear the Current Reference Scale and Refresh the ActiveView.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2019 16:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654823#M50989</guid>
      <dc:creator>RobbieSymborski</dc:creator>
      <dc:date>2019-12-27T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set the reference scale of a Map using arcpy.mp?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654824#M50990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news, sometime in the last few years it got added in as the &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm#P_GUID-CD5119D8-1DD8-46A3-9051-3DFE58C6B5A6"&gt;referenceScale property&lt;/A&gt; on the&amp;nbsp;Map object&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm"&gt;Map—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2019 01:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-set-the-reference-scale-of-a-map-using/m-p/654824#M50990</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-12-29T01:20:05Z</dc:date>
    </item>
  </channel>
</rss>

