<?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 Map Properties Arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1341407#M69027</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am attempting to change the map properties of my ArcGIS Pro Map using ArcPy, though I am struggling to find out how.&lt;/P&gt;&lt;P&gt;target_crs = arcpy.SpatialReference(32632)&lt;/P&gt;&lt;P&gt;arcpy.env.OutputCoordinateSystem = target_crs&lt;/P&gt;&lt;P&gt;arcpy.env.geographicTransformation = target_crs&lt;/P&gt;&lt;P&gt;Tried these and have yet to succeed, any ideas?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stewart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 14:56:26 GMT</pubDate>
    <dc:creator>stewart</dc:creator>
    <dc:date>2023-10-25T14:56:26Z</dc:date>
    <item>
      <title>Map Properties Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1341407#M69027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am attempting to change the map properties of my ArcGIS Pro Map using ArcPy, though I am struggling to find out how.&lt;/P&gt;&lt;P&gt;target_crs = arcpy.SpatialReference(32632)&lt;/P&gt;&lt;P&gt;arcpy.env.OutputCoordinateSystem = target_crs&lt;/P&gt;&lt;P&gt;arcpy.env.geographicTransformation = target_crs&lt;/P&gt;&lt;P&gt;Tried these and have yet to succeed, any ideas?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stewart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 14:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1341407#M69027</guid>
      <dc:creator>stewart</dc:creator>
      <dc:date>2023-10-25T14:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Map Properties Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1341435#M69028</link>
      <description>&lt;P&gt;Did you have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/map-class.htm" target="_blank"&gt;Map—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;spatialReference&lt;BR /&gt;(Read and Write)&lt;BR /&gt;Provides the ability to get or set the SpatialReference associated with the map.&lt;/P&gt;&lt;P&gt;SpatialReference&lt;BR /&gt;transformations&lt;BR /&gt;(Read Only)&lt;BR /&gt;Returns the horizontal and vertical transformations associated with the map as a Python Dictionary. The dictionary key for horizontal transformations is 2D and 3D for vertical transformations. To modify the existing transformations, use updateTransformations.&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;updateTransformations (transformations)&lt;BR /&gt;The updateTransformations method replaces a map's transformations using a dictionary.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 15:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1341435#M69028</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-25T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Map Properties Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1344295#M69093</link>
      <description>&lt;P&gt;Thanks! My solution was found through your link which linked into a different one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;map_view = arcpy.mp.ArcGISProject("CURRENT").listMaps("Map")[0]&lt;BR /&gt;map_view.spatialReference = arcpy.SpatialReference(32632)&lt;BR /&gt;aprx = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;aprx.save()&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/map-properties-arcpy/m-p/1344295#M69093</guid>
      <dc:creator>stewart</dc:creator>
      <dc:date>2023-11-01T10:06:12Z</dc:date>
    </item>
  </channel>
</rss>

