<?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 create geodatabase first then iterate the CAD Dataset and export it on that gdb in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/create-geodatabase-first-then-iterate-the-cad/m-p/586351#M6425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok so i've been working my ass of trying to figure out how to run my model as a single tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs fine when the processes are seperated meaning they are seperate tools&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1st step is to simply create a file geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd step should be to iterate a folder containing CAD Data, and using a wildcard to convert only the Polygon DWG type inside the geodatabase we created on the 1st step&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll attach a screenshot &lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img197.imageshack.us/img197/4512/hfx.PNG" /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyway I can improve this? they workfine if they are seperate models though&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenarios I tried using a single "output geodatabase parameter" and connect it to the "Feature class to Geodatabase tool" as shown here&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img827.imageshack.us/img827/2300/b91e.png" /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: FAIL, it would gradually run the create geodatabase tool as well overwriting the previous geodatabase in the end only producing 1 polygon feature class instead of 9 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried trying to precondition the create geodatabase tool first before iteration begins but it doesn't stop the creating an new geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img209.imageshack.us/img209/6812/bm5.png" /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: Same results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Sep 2013 03:06:27 GMT</pubDate>
    <dc:creator>CharlemagneLosaria2</dc:creator>
    <dc:date>2013-09-14T03:06:27Z</dc:date>
    <item>
      <title>create geodatabase first then iterate the CAD Dataset and export it on that gdb</title>
      <link>https://community.esri.com/t5/mapping-questions/create-geodatabase-first-then-iterate-the-cad/m-p/586351#M6425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok so i've been working my ass of trying to figure out how to run my model as a single tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs fine when the processes are seperated meaning they are seperate tools&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1st step is to simply create a file geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd step should be to iterate a folder containing CAD Data, and using a wildcard to convert only the Polygon DWG type inside the geodatabase we created on the 1st step&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll attach a screenshot &lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img197.imageshack.us/img197/4512/hfx.PNG" /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyway I can improve this? they workfine if they are seperate models though&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenarios I tried using a single "output geodatabase parameter" and connect it to the "Feature class to Geodatabase tool" as shown here&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img827.imageshack.us/img827/2300/b91e.png" /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: FAIL, it would gradually run the create geodatabase tool as well overwriting the previous geodatabase in the end only producing 1 polygon feature class instead of 9 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried trying to precondition the create geodatabase tool first before iteration begins but it doesn't stop the creating an new geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://img209.imageshack.us/img209/6812/bm5.png" /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: Same results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 03:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/create-geodatabase-first-then-iterate-the-cad/m-p/586351#M6425</guid>
      <dc:creator>CharlemagneLosaria2</dc:creator>
      <dc:date>2013-09-14T03:06:27Z</dc:date>
    </item>
  </channel>
</rss>

