<?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>idea Expose Blend Modes to Arcpy.mp Module in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idi-p/1363219</link>
    <description>&lt;P&gt;It's entirely possible this exists, and I just haven't been able to find it, but given blend modes themselves seem pretty new, I'm going to hazard a guess it doesn't exist, yet.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem/Use Case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm currently building a tool that automatically pulls selected as-built &amp;amp; design drawings for an area into the active map.&amp;nbsp; In pretty much all of our cases, the imported drawings are a georeferenced image file of a white page with black text &amp;amp; geometry.&amp;nbsp; So I pretty much always set these to a blend mode of "Multiply".&amp;nbsp; However, I'm pulling them into the map via the&amp;nbsp;&lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; mapping module, and there doesn't seem to be any way to set the blend mode from the script.&lt;/P&gt;&lt;P&gt;This means after the script has pulled all the records in, I have to&amp;nbsp;&lt;EM&gt;manually&lt;/EM&gt; set them all to have a blend mode of Multiply.&amp;nbsp;&amp;nbsp;&lt;EM&gt;Nu beuno.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proposal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expose the Layer/Feature Blend of a given Layer to the&amp;nbsp;&lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; module, so we can both read and write it via scripts.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 18:49:55 GMT</pubDate>
    <dc:creator>MErikReedAugusta</dc:creator>
    <dc:date>2023-12-20T18:49:55Z</dc:date>
    <item>
      <title>Expose Blend Modes to Arcpy.mp Module</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idi-p/1363219</link>
      <description>&lt;P&gt;It's entirely possible this exists, and I just haven't been able to find it, but given blend modes themselves seem pretty new, I'm going to hazard a guess it doesn't exist, yet.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem/Use Case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm currently building a tool that automatically pulls selected as-built &amp;amp; design drawings for an area into the active map.&amp;nbsp; In pretty much all of our cases, the imported drawings are a georeferenced image file of a white page with black text &amp;amp; geometry.&amp;nbsp; So I pretty much always set these to a blend mode of "Multiply".&amp;nbsp; However, I'm pulling them into the map via the&amp;nbsp;&lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; mapping module, and there doesn't seem to be any way to set the blend mode from the script.&lt;/P&gt;&lt;P&gt;This means after the script has pulled all the records in, I have to&amp;nbsp;&lt;EM&gt;manually&lt;/EM&gt; set them all to have a blend mode of Multiply.&amp;nbsp;&amp;nbsp;&lt;EM&gt;Nu beuno.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proposal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expose the Layer/Feature Blend of a given Layer to the&amp;nbsp;&lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; module, so we can both read and write it via scripts.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 18:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idi-p/1363219</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2023-12-20T18:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expose Blend Modes to Arcpy.mp Module</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363228#M27756</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;have you tried using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/python-cim-access.htm" target="_self"&gt;Python CIM Access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I just tried quickly with the following code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;p = arcpy.mp.ArcGISProject('current')
m = p.listMaps()[0]
l = m.listLayers('Photo0')[0]
l_cim = l.getDefinition('V3')
l_cim.l_cim.blendingMode = 'Multiply'  #Was Normal
l.setDefinition(l_cim)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 19:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363228#M27756</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2023-12-20T19:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expose Blend Modes to Arcpy.mp Module</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363577#M27779</link>
      <description>&lt;P&gt;Ah, this might work; I'll have to spelunk into this later today.&lt;/P&gt;&lt;P&gt;Thanks for the pointer.&amp;nbsp; I haven't ready the mapping documentation "cover-to-cover", yet, and the organic digging I was doing yesterday hadn't turned this up, yet.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 14:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363577#M27779</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2023-12-21T14:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expose Blend Modes to Arcpy.mp Module</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363649#M27782</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;Python CIM Access is a way to get to properties we don't expose to our curated API.&amp;nbsp; We expose focused capabilities and use the CIM for the less common features.&amp;nbsp; Review the help topic to get a better understanding and please let me know if this helped.&amp;nbsp; I'll mark the topic as "already offered".&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 16:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/expose-blend-modes-to-arcpy-mp-module/idc-p/1363649#M27782</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2023-12-21T16:40:56Z</dc:date>
    </item>
  </channel>
</rss>

