<?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 ArcGIS Pro 3.1.2 - How to use inline variable in Calculator Expression in ModelBuilder? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-2-how-to-use-inline-variable-in/m-p/1345481#M74810</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I designed a model in ModelBuilder which is using a For loop to loop through years... And using the years to make Layer by Attribute selection.&lt;/P&gt;&lt;P&gt;As the variable 'Value' (which represents the years) is changing during run-time of the model with the 'For' loop, I need to use this variable 'Value' as an inline variable (enclosed in percent signs) in the expression to make the Layer by Attribute selection.&lt;/P&gt;&lt;P&gt;However, the geoprocessing tool Layer by Attribute do not accept the inline variable. Instead, I tried to use a Calculator Expression variable, but it does not seem to work either.&lt;/P&gt;&lt;P&gt;Is there any way to use an inline variable to make a Select by Attribute expression?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ModelBuilder_InlineVariable_in_CalculatorExpression.png" style="width: 247px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84952i1686A7721A35389B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ModelBuilder_InlineVariable_in_CalculatorExpression.png" alt="ModelBuilder_InlineVariable_in_CalculatorExpression.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 12:32:42 GMT</pubDate>
    <dc:creator>VincentLaunstorfer</dc:creator>
    <dc:date>2023-11-03T12:32:42Z</dc:date>
    <item>
      <title>ArcGIS Pro 3.1.2 - How to use inline variable in Calculator Expression in ModelBuilder?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-2-how-to-use-inline-variable-in/m-p/1345481#M74810</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I designed a model in ModelBuilder which is using a For loop to loop through years... And using the years to make Layer by Attribute selection.&lt;/P&gt;&lt;P&gt;As the variable 'Value' (which represents the years) is changing during run-time of the model with the 'For' loop, I need to use this variable 'Value' as an inline variable (enclosed in percent signs) in the expression to make the Layer by Attribute selection.&lt;/P&gt;&lt;P&gt;However, the geoprocessing tool Layer by Attribute do not accept the inline variable. Instead, I tried to use a Calculator Expression variable, but it does not seem to work either.&lt;/P&gt;&lt;P&gt;Is there any way to use an inline variable to make a Select by Attribute expression?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ModelBuilder_InlineVariable_in_CalculatorExpression.png" style="width: 247px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84952i1686A7721A35389B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ModelBuilder_InlineVariable_in_CalculatorExpression.png" alt="ModelBuilder_InlineVariable_in_CalculatorExpression.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 12:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-2-how-to-use-inline-variable-in/m-p/1345481#M74810</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2023-11-03T12:32:42Z</dc:date>
    </item>
  </channel>
</rss>

