<?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 Add Feature class to Terrain in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/add-feature-class-to-terrain/m-p/277541#M9553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am trying to script creating/building a terrain.I am using ArcGIS Desptop 10.2.2&lt;/P&gt;&lt;P&gt;I can create the terrain and add pyramid levels. However it is failing on adding the multipoint feature class to the terrain,&lt;/P&gt;&lt;P&gt;therefore I can't build the terrain. See error message below when run in python window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works ok when using the New Terrain Wizard. Any ideas?&lt;/P&gt;&lt;P&gt;I have looked at the post in&amp;nbsp;&lt;A href="https://community.esri.com/thread/173227"&gt;Adding a feature class to terrain in python&lt;/A&gt;&amp;nbsp;but there doesn't seem to have any solution for this either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.env.workspace = r'C:\Lidar\Height\output\HEIGHT.gdb\TerrainFDS2'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; params = "terrain_pts SHAPE masspoints 1 true false points_embed &amp;lt;None&amp;gt; false"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.AddFeatureClassToTerrain_3d (r"C:\Lidar\Height\output\HEIGHT.gdb\TerrainFDS2\my_terrain", params)&lt;BR /&gt;Runtime error &lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\ddd.py", line 1895, in AddFeatureClassToTerrain&lt;BR /&gt; raise e&lt;BR /&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 16:13:36 GMT</pubDate>
    <dc:creator>RavinHasseea</dc:creator>
    <dc:date>2018-03-28T16:13:36Z</dc:date>
    <item>
      <title>Add Feature class to Terrain</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/add-feature-class-to-terrain/m-p/277541#M9553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am trying to script creating/building a terrain.I am using ArcGIS Desptop 10.2.2&lt;/P&gt;&lt;P&gt;I can create the terrain and add pyramid levels. However it is failing on adding the multipoint feature class to the terrain,&lt;/P&gt;&lt;P&gt;therefore I can't build the terrain. See error message below when run in python window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works ok when using the New Terrain Wizard. Any ideas?&lt;/P&gt;&lt;P&gt;I have looked at the post in&amp;nbsp;&lt;A href="https://community.esri.com/thread/173227"&gt;Adding a feature class to terrain in python&lt;/A&gt;&amp;nbsp;but there doesn't seem to have any solution for this either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.env.workspace = r'C:\Lidar\Height\output\HEIGHT.gdb\TerrainFDS2'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; params = "terrain_pts SHAPE masspoints 1 true false points_embed &amp;lt;None&amp;gt; false"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.AddFeatureClassToTerrain_3d (r"C:\Lidar\Height\output\HEIGHT.gdb\TerrainFDS2\my_terrain", params)&lt;BR /&gt;Runtime error &lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\ddd.py", line 1895, in AddFeatureClassToTerrain&lt;BR /&gt; raise e&lt;BR /&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 16:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/add-feature-class-to-terrain/m-p/277541#M9553</guid>
      <dc:creator>RavinHasseea</dc:creator>
      <dc:date>2018-03-28T16:13:36Z</dc:date>
    </item>
  </channel>
</rss>

