<?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: Instantiate TIN as Layer object - arcpy in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/instantiate-tin-as-layer-object-arcpy/m-p/856363#M4025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems as though you aren't the only person to come up with this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/161557"&gt;https://community.esri.com/thread/161557&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/189604-how-do-i-add-a-tin-to-arcmap-using-python"&gt;https://community.esri.com/thread/189604-how-do-i-add-a-tin-to-arcmap-using-python&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 16:28:31 GMT</pubDate>
    <dc:creator>IanMurray</dc:creator>
    <dc:date>2017-03-16T16:28:31Z</dc:date>
    <item>
      <title>Instantiate TIN as Layer object - arcpy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/instantiate-tin-as-layer-object-arcpy/m-p/856362#M4024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! the following commands works with shapefiles and rasters, but i cannot manage with a TIN.&lt;/P&gt;&lt;P&gt;Do you know the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;tin &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; C&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\PROJECT\mytin

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateTin_3d&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tin&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; CoordSys&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Input_Features&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;# coord sys and input defined above&lt;/SPAN&gt;

mylayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Layer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'{0}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tin&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error: invalid data source.&lt;/P&gt;&lt;P&gt;So i tried to save the TIN as a .lyr files first with arcpy.SaveToLayerFile_management(tin), but i get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With rasters and shapefiles i just give in input the full path of the file, but about the tin?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:35:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/instantiate-tin-as-layer-object-arcpy/m-p/856362#M4024</guid>
      <dc:creator>martinaraffellini</dc:creator>
      <dc:date>2021-12-12T10:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Instantiate TIN as Layer object - arcpy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/instantiate-tin-as-layer-object-arcpy/m-p/856363#M4025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems as though you aren't the only person to come up with this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/161557"&gt;https://community.esri.com/thread/161557&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/189604-how-do-i-add-a-tin-to-arcmap-using-python"&gt;https://community.esri.com/thread/189604-how-do-i-add-a-tin-to-arcmap-using-python&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 16:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/instantiate-tin-as-layer-object-arcpy/m-p/856363#M4025</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-03-16T16:28:31Z</dc:date>
    </item>
  </channel>
</rss>

