<?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: Extrude Between Tool in ModelBuilder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242383#M210</link>
    <description>&lt;P&gt;Thanks Kyle. I now see a similar &lt;A href="https://community.esri.com/t5/python-questions/loop-through-multiple-input-values-arcpy-toolbox/td-p/1071425" target="_self"&gt;question&lt;/A&gt; was posed last year in the Python group. Am less familiar with working in python. Any thoughts on how to apply that script to my specific problem? Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 15:47:04 GMT</pubDate>
    <dc:creator>KevinWiley13</dc:creator>
    <dc:date>2022-12-19T15:47:04Z</dc:date>
    <item>
      <title>Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242360#M208</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to develop a tool in Model Builder that will extrude between pairs of TINs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tool takes three inputs: the two input TINs and a bounding input feature class.&lt;/P&gt;&lt;P&gt;The TINs are named TIN_1_1, TIN_1_2, TIN_1_3, TIN_2_1, TIN_2_2, TIN_2_3, etc. I need the extrusion to take place between each sequential pair within each group (between 1_1 and 1_2, between 1_2 and 1_3, between 2_1 and 2_2, etc.) but not between non-sequential pairs (1_1 and 1_3) and not between TINs in different groups (1_1 and 2_1). Also there is a corresponding input feature for each group: polygon 1, polygon 2, etc.&lt;/P&gt;&lt;P&gt;Any tips on iterating these three inputs would be most appreciated. I have over a thousand of these procedures to perform and would strongly prefer an automated solution. Am using ArcPro 3.0.0.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242360#M208</guid>
      <dc:creator>KevinWiley13</dc:creator>
      <dc:date>2022-12-19T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242368#M209</link>
      <description>&lt;P&gt;for what you are doing my tip would be use python instead of model builder and&amp;nbsp; simply iterate your tin names in loops with python.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242368#M209</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2022-12-19T15:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242383#M210</link>
      <description>&lt;P&gt;Thanks Kyle. I now see a similar &lt;A href="https://community.esri.com/t5/python-questions/loop-through-multiple-input-values-arcpy-toolbox/td-p/1071425" target="_self"&gt;question&lt;/A&gt; was posed last year in the Python group. Am less familiar with working in python. Any thoughts on how to apply that script to my specific problem? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242383#M210</guid>
      <dc:creator>KevinWiley13</dc:creator>
      <dc:date>2022-12-19T15:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242390#M211</link>
      <description>&lt;P&gt;Sure - If you have a working model builder export that to python or look at the geoprocessing history and copy the python commands to a notebook in pro.&amp;nbsp; Take advantage of for loops with incrementation and use the looping to automate the input and output naming conventions, and change the input and output of the geoprocessed python commands to use the iterated string variables to meet your needs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1242390#M211</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2022-12-19T15:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1301869#M212</link>
      <description>&lt;P&gt;Are all these in same folder?&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;TIN_1_1, TIN_1_2, TIN_1_3, TIN_2_1, TIN_2_2, TIN_2_3&lt;/SPAN&gt;&lt;BR /&gt;Are the outputs going to a different workspace?&lt;BR /&gt;Which tool are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1301869#M212</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2023-06-22T07:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1304248#M3843</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Kevin,&lt;BR /&gt;Sent you the solution directly. Pls can you check if that works before I post it here. Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jun 2023 22:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1304248#M3843</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2023-06-28T22:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1307758#M3850</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;This is a very rough version, written in python. It does not include the .extrusion() call that you need, but it does have the combinations you wanted included, and doesn't have the ones you wanted excluded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def get_extrusion(
        geometry_a,
        geometry_b
        ):
    return '''
    PUT EXTRUSION CODE HERE
    '''

TIN_STRING = 'TIN_1_1, TIN_1_2, TIN_1_3, TIN_2_1, TIN_2_2, TIN_2_3'
TIN_LIST = TIN_STRING.split(', ')

def get_tin_combinations(
        tin_list = TIN_LIST
        ) -&amp;gt; dict:
    tin_list.sort()
    out = []
    for i in range(len(tin_list) - 1):
        a, b = tin_list[i], tin_list[i + 1]
        if a[4] == b[4]:
            if int(a[-1]) - int(b[-1]):
                out.append([a, b])
                get_extrusion(
                    geometry_a=a,
                    geometry_b=b
                )
    print(out)
    return out

get_tin_combinations()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 21:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1307758#M3850</guid>
      <dc:creator>asmith1</dc:creator>
      <dc:date>2023-07-12T21:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Between Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1308908#M3856</link>
      <description>&lt;P&gt;If I got the combinations right - try this. I have not run, but this should work. Let me know if it works or I can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t;TD&gt;&lt;P&gt;a_3_3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;polygon 3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShitijMehta_3-1689661135051.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75592i1589A90888DF76DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShitijMehta_3-1689661135051.png" alt="ShitijMehta_3-1689661135051.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 06:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/extrude-between-tool-in-modelbuilder/m-p/1308908#M3856</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2023-07-18T06:19:49Z</dc:date>
    </item>
  </channel>
</rss>

