<?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: Help with Create TIN variables in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363360#M28730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tried this according to other threads and 10.1 help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d(Roof, Coordinate_System, "{0} elev Mass_Points &amp;lt;None&amp;gt;".format(elevpntsRoof), "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d(BuildingBase, Coordinate_System, "{0} elev Mass_Points &amp;lt;None&amp;gt;".format(elevpntsbase), "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it did not work, am I doing something wrong - wrong number or value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 13:47:40 GMT</pubDate>
    <dc:creator>MarionConstante</dc:creator>
    <dc:date>2014-03-07T13:47:40Z</dc:date>
    <item>
      <title>Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363359#M28729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing a script that includes creating TINs and it won't allow me to use a variable for the input feature class.&amp;nbsp; I get a warning that says "Not a member of none".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works if I hard code the shapefile in the parameters but not when I use a variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the code snippet that isn't working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; # Output TIN &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; BuildingBase = "BldgBase"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Roof = "BldgRoof"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; # Input point feature classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; elevpntsRoof = "elevpntsRoof.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; elevpntsbase = "elevpntsBase.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; # execute create TIN 3d&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arcpy.CreateTin_3d(Roof, Coordinate_System, "elevpntsRoof elev Mass_Points &amp;lt;None&amp;gt;", "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arcpy.CreateTin_3d(BuildingBase, Coordinate_System, "elevpntsbase elev Mass_Points &amp;lt;None&amp;gt;", "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000800: The value is not a member of &amp;lt;None&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CreateTin).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want this script to allow users to input their variables without having to go into the script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so far the script only works when I add the feature class path directly to the parameters within the ("elevpntsRoof elev Mass_Points &amp;lt;None&amp;gt;") part of arcpy.CreatTin_3d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d(Roof, Coordinate_System, "elevpntsRoof.shp elev Mass_Points &amp;lt;None&amp;gt;", "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it because of the "" or does it not work using variables at all.&amp;nbsp; I have tried no quotes, {}, [], no "" around the variable but nothing has worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 12:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363359#M28729</guid>
      <dc:creator>MarionConstante</dc:creator>
      <dc:date>2014-03-07T12:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363360#M28730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tried this according to other threads and 10.1 help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d(Roof, Coordinate_System, "{0} elev Mass_Points &amp;lt;None&amp;gt;".format(elevpntsRoof), "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d(BuildingBase, Coordinate_System, "{0} elev Mass_Points &amp;lt;None&amp;gt;".format(elevpntsbase), "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it did not work, am I doing something wrong - wrong number or value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 13:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363360#M28730</guid>
      <dc:creator>MarionConstante</dc:creator>
      <dc:date>2014-03-07T13:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363361#M28731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't remember if it was the exact issue, but in a script I needed to build tins in I pre-built my parameters as a string into a variable like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#create a TIN of the area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;para_in = InSounding + " " + S_Depth_name + " Mass_Points &amp;lt;None&amp;gt;;" + InShoreline + " " + DepthField + " Hard_Line &amp;lt;None&amp;gt;;" + OutShorelinePY + " &amp;lt;None&amp;gt; hardclip &amp;lt;None&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTin_3d (OutTIN, "#", para_in, "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I often seem to need to do things like this.....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363361#M28731</guid>
      <dc:creator>MichaelStead</dc:creator>
      <dc:date>2014-03-10T16:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363362#M28732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I tried as a string: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Roofpnts = "elevpntsroof.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParamsRoof = Roofpnts + "elev" + "Mass_Points &amp;lt;None&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateTin_3d(Roof, Coordinate_System, ParamsRoof, "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; basepnts = "elevpntsbase.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParamsBldg = basepnts + "elev" + "Mass_Points &amp;lt;None&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateTin_3d(BuildingBase, Coordinate_System, ParamsBldg, "DELAUNAY")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I keep getting this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CreateTin).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 17:47:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363362#M28732</guid>
      <dc:creator>MarionConstante</dc:creator>
      <dc:date>2014-03-10T17:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363363#M28733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The first thing that jumps out is that you need some spaces in between the items you area building the parameter strings with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is currently be interpretted as "elevpntsroof.shpelevMass_Points &amp;lt;None&amp;gt;" and needs to be "elevpntsroof.shp elev Mass_Points &amp;lt;None&amp;gt;" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ParamsRoof = Roofpnts + " elev Mass_Points &amp;lt;None&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ParamsBldg = basepnts + " elev Mass_Points &amp;lt;None&amp;gt;"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 22:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363363#M28733</guid>
      <dc:creator>MichaelStead</dc:creator>
      <dc:date>2014-03-10T22:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Create TIN variables</title>
      <link>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363364#M28734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the help, it finally worked.&amp;nbsp; I'm new at python for ArcGIS so I am still getting used to the need for spaces and indentations required for scripts.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 23:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-with-create-tin-variables/m-p/363364#M28734</guid>
      <dc:creator>MarionConstante</dc:creator>
      <dc:date>2014-03-10T23:14:24Z</dc:date>
    </item>
  </channel>
</rss>

