<?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 Dynamically set Snap Raster in ModelBuilder in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/dynamically-set-snap-raster-in-modelbuilder/m-p/1061891#M11282</link>
    <description>&lt;P&gt;Hi - I have a ModelBuilder model that is running from a python script and doing some zonal stats using catchment boundaries and a number of raster datasets. I have a need to set the snap raster environment dynamically (as a parameter) depending on the group that is being passed into the model. While there appears to a be a workspace variable that can be set in a model, there does not appear to be a similar variable for snapRaster. I've tried to set it in python before running the model, but that doesn't work. I need a way to pass in the snapRaster env setting to the model itself as a variable. Any ideas on how to accomplish this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PatSmyth_0-1622046916848.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14218i058D9DAC6A612A5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PatSmyth_0-1622046916848.png" alt="PatSmyth_0-1622046916848.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapRaster environment .png" style="width: 812px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14216i826241D1D36AFD45/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapRaster environment .png" alt="snapRaster environment .png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 16:36:36 GMT</pubDate>
    <dc:creator>PatSmyth</dc:creator>
    <dc:date>2021-05-26T16:36:36Z</dc:date>
    <item>
      <title>Dynamically set Snap Raster in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/dynamically-set-snap-raster-in-modelbuilder/m-p/1061891#M11282</link>
      <description>&lt;P&gt;Hi - I have a ModelBuilder model that is running from a python script and doing some zonal stats using catchment boundaries and a number of raster datasets. I have a need to set the snap raster environment dynamically (as a parameter) depending on the group that is being passed into the model. While there appears to a be a workspace variable that can be set in a model, there does not appear to be a similar variable for snapRaster. I've tried to set it in python before running the model, but that doesn't work. I need a way to pass in the snapRaster env setting to the model itself as a variable. Any ideas on how to accomplish this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PatSmyth_0-1622046916848.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14218i058D9DAC6A612A5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PatSmyth_0-1622046916848.png" alt="PatSmyth_0-1622046916848.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapRaster environment .png" style="width: 812px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14216i826241D1D36AFD45/image-size/large?v=v2&amp;amp;px=999" role="button" title="snapRaster environment .png" alt="snapRaster environment .png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 16:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/dynamically-set-snap-raster-in-modelbuilder/m-p/1061891#M11282</guid>
      <dc:creator>PatSmyth</dc:creator>
      <dc:date>2021-05-26T16:36:36Z</dc:date>
    </item>
  </channel>
</rss>

