<?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: How to remove a feature class from GeoDB in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314702#M10995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured this out :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List&amp;lt;object&amp;gt; argsList = new List&amp;lt;object&amp;gt;() { featureclassNameToDelete };&lt;BR /&gt; var args = Geoprocessing.MakeValueArray(argsList.ToArray());&lt;/P&gt;&lt;P&gt;var envs = Geoprocessing.MakeEnvironmentArray(workspace : gdbPath);&lt;BR /&gt; &lt;BR /&gt; IGPResult result = await Geoprocessing.ExecuteToolAsync("Delete_management", args, envs);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 06:32:11 GMT</pubDate>
    <dc:creator>jackpearson</dc:creator>
    <dc:date>2017-07-10T06:32:11Z</dc:date>
    <item>
      <title>How to remove a feature class from GeoDB</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314699#M10992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm adding a feature class to file geodb using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;GPExecuteToolFlags flags = GPExecuteToolFlags.None;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;IGPResult result = await Geoprocessing.ExecuteToolAsync("CreateFeatureclass_management", Geoprocessing.MakeValueArray(arguments.ToArray()),&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;null,null,null, flags); &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Q1) : It still seems to also add to the current map - what flag do i need to set to prevent that ?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Q2 ) How can i remove that feature class programmatically from the the geodb ? i cannot find any mention of something like&amp;nbsp;Delete/RemoveFeatureclass_management&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2017 13:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314699#M10992</guid>
      <dc:creator>jackpearson</dc:creator>
      <dc:date>2017-07-08T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a feature class from GeoDB</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314700#M10993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a single tool used to delete objects from the database:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete.htm"&gt;Delete—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 02:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314700#M10993</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-07-09T02:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a feature class from GeoDB</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314701#M10994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Curtis - anyone seen a .net equivalent ? I couldn't &amp;nbsp;find any docco/example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine something like below, but I can't work out how to specify the geodb ?&lt;/P&gt;&lt;P&gt;what is the equiv of py :&amp;nbsp;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;env&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;workspace&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;= ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;List&amp;lt;object&amp;gt; argsList = new List&amp;lt;object&amp;gt;() { featureclassNameToDelete };&lt;BR /&gt; var args = Geoprocessing.MakeValueArray(argsList.ToArray());&lt;BR /&gt; IGPResult result = await Geoprocessing.ExecuteToolAsync("Delete_management", args);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 01:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314701#M10994</guid>
      <dc:creator>jackpearson</dc:creator>
      <dc:date>2017-07-10T01:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a feature class from GeoDB</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314702#M10995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured this out :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List&amp;lt;object&amp;gt; argsList = new List&amp;lt;object&amp;gt;() { featureclassNameToDelete };&lt;BR /&gt; var args = Geoprocessing.MakeValueArray(argsList.ToArray());&lt;/P&gt;&lt;P&gt;var envs = Geoprocessing.MakeEnvironmentArray(workspace : gdbPath);&lt;BR /&gt; &lt;BR /&gt; IGPResult result = await Geoprocessing.ExecuteToolAsync("Delete_management", args, envs);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 06:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-remove-a-feature-class-from-geodb/m-p/314702#M10995</guid>
      <dc:creator>jackpearson</dc:creator>
      <dc:date>2017-07-10T06:32:11Z</dc:date>
    </item>
  </channel>
</rss>

