<?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: CreateTIN script executes but no output in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167725#M64395</link>
    <description>&lt;P&gt;OK this may be more about you not reading the&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/3d-analyst/create-tin.htm#ESRI_USAGES_328BBACCCA154CC69AC078A84810D0A6" target="_self"&gt; help file&lt;/A&gt; on the tool...&lt;/P&gt;&lt;P&gt;As you have set the input to be&amp;nbsp;&lt;EM&gt;softline&lt;/EM&gt; this according to the usage section of the tools help file means your input shapefile is a polyline dataset and according to the help file that's a break line. If your data are contour lines may be try setting it to&amp;nbsp;&lt;EM&gt;Mass Points&lt;/EM&gt;? Or if they are truly break lines you need to be providing the elevation data as well.&lt;/P&gt;&lt;P&gt;Also when asking such questions you really need to be including images of you data, the parameters and what the parameters were set to, as basically I or anyone else are second guessing as you have not provided enough information.&amp;nbsp;&lt;EM&gt;You can always go back an edit your original question to improve rather than adding another comment, means others can benefit from your Q&amp;amp;A.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 21:00:17 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2022-04-25T21:00:17Z</dc:date>
    <item>
      <title>CreateTIN script executes but no output</title>
      <link>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167555#M64386</link>
      <description>&lt;P&gt;The code executes properly. I don't get any errors. But when I go to the workspace that I set, there is nothing there when there should be a TIN. Any idea what's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Import system modules
import arcpy

# Set the parameters
InputFeatureClass = arcpy.GetParameterAsText(0)
field_1pct = arcpy.GetParameterAsText(1)
field_0_2pct = arcpy.GetParameterAsText(2)
spatial_ref = arcpy.GetParameterAsText(3)
arg_1pct = InputFeatureClass + " " + field_1pct + " " + "softline"

try:
    arcpy.env.workspace = arcpy.GetParameterAsText(4)
    arcpy.ddd.CreateTin("tin_1pct", spatial_ref, arg_1pct)
    
except arcpy.ExecuteError:
    print(arcpy.GetMessages())
except Exception as err:
    print(err)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167555#M64386</guid>
      <dc:creator>LClark1102</dc:creator>
      <dc:date>2022-04-25T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTIN script executes but no output</title>
      <link>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167588#M64387</link>
      <description>&lt;P&gt;What are your input parameter values? Also you could try providing a full path to the output TIN instead of using the workspace environment setting to set folder location. Which I assume already exists?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167588#M64387</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-04-25T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTIN script executes but no output</title>
      <link>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167617#M64388</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp;, Thanks for responding.&lt;/P&gt;&lt;P&gt;I set the full output path as suggested.&amp;nbsp; I enter it as a string for the first argument of the CreateTin method, corrrect? If so, that did not work.&lt;/P&gt;&lt;P&gt;I've attached a screenshot of my input parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167617#M64388</guid>
      <dc:creator>LClark1102</dc:creator>
      <dc:date>2022-04-25T17:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTIN script executes but no output</title>
      <link>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167725#M64395</link>
      <description>&lt;P&gt;OK this may be more about you not reading the&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/3d-analyst/create-tin.htm#ESRI_USAGES_328BBACCCA154CC69AC078A84810D0A6" target="_self"&gt; help file&lt;/A&gt; on the tool...&lt;/P&gt;&lt;P&gt;As you have set the input to be&amp;nbsp;&lt;EM&gt;softline&lt;/EM&gt; this according to the usage section of the tools help file means your input shapefile is a polyline dataset and according to the help file that's a break line. If your data are contour lines may be try setting it to&amp;nbsp;&lt;EM&gt;Mass Points&lt;/EM&gt;? Or if they are truly break lines you need to be providing the elevation data as well.&lt;/P&gt;&lt;P&gt;Also when asking such questions you really need to be including images of you data, the parameters and what the parameters were set to, as basically I or anyone else are second guessing as you have not provided enough information.&amp;nbsp;&lt;EM&gt;You can always go back an edit your original question to improve rather than adding another comment, means others can benefit from your Q&amp;amp;A.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 21:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createtin-script-executes-but-no-output/m-p/1167725#M64395</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-04-25T21:00:17Z</dc:date>
    </item>
  </channel>
</rss>

