<?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: Editing a layer in modelbuilder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801490#M1057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you got that far your better in Python than me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2019 15:06:32 GMT</pubDate>
    <dc:creator>SLouq</dc:creator>
    <dc:date>2019-10-11T15:06:32Z</dc:date>
    <item>
      <title>Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801481#M1048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created&amp;nbsp;3 models in mobelbuilder&amp;nbsp;to&amp;nbsp;accomplish one task. However I would like to do away with the 3&amp;nbsp;separate models and just combine all into one model. The problem I am having is I can't get the second part of the model to work unless I add the shapefile I edited in the first part of the model back into the map. The message it is giving me is 'All inputs are not current'. I am trying to use the Select&amp;nbsp;Layer by&amp;nbsp;Attribute&amp;nbsp;tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I keep all inputs current so the model doesn't quit after the first step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:08:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801481#M1048</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801482#M1049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried putting all the steps in one model and using pre-conditions before the next step starts.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You should also then be able to direct link to the shapefile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801482#M1049</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T14:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801483#M1050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have preconditions set to the last variable in the first step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the reason the model stops is because the first step takes the shapefile out the map while it is running and the second step won't start unless the shapefile is in the map.&lt;/P&gt;&lt;P&gt;I am trying to get the model to run through each step on its own&amp;nbsp;without me having to babysit&amp;nbsp;it and put the layer back in the map after each&amp;nbsp;step&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801483#M1050</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801484#M1051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have done when models get complicated is to export them as Python scripts. you may be able to export all three of yours to python.&amp;nbsp; You should be able to go to the script for the third tool and specify in the variables the exact location of the shape file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801484#M1051</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T14:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801485#M1052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried working it as a feature class in a database instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity what is the task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801485#M1052</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T14:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801486#M1053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I am coming try right now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801486#M1053</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T14:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801487#M1054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried a variation. I added calculate field to the model.&amp;nbsp; double clicked the calculate field and made what I wanted. I closed it and it added the Feature Class to the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I used the ADD DATA button to manually add the feature class back into the model.&amp;nbsp; Did a second function and used the inner model link to the recalled feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to work.&amp;nbsp; but my model was exceptionally basic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801487#M1054</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801488#M1055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I renamed the second instance of the feature as AddressPointsAgain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what it did in python.&amp;nbsp; It calls the same feature twice but calls them different things in the script. It then performs the Process's in the order they are in Python.&amp;nbsp; I am far from an expert in Python this is just an export from Model Builder&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Import arcpy module&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Local variables:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="font-size: medium; font-family: Calibri; "&gt;&lt;SPAN style="color: #000000;"&gt;AddressPointsAgain = &lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;"Database Connections\\PROD_GIS.sde\\GIS.AddressPoints\\GIS.AddressPoints"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;GIS_AddressPoints__4_ = AddressPointsAgain&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="font-size: medium; font-family: Calibri; "&gt;&lt;SPAN style="color: #000000;"&gt;GIS_AddressPoints__2_ &lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;= "Database Connections\\PROD_GIS.sde\\GIS.AddressPoints\\GIS.AddressPoints"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;GIS_AddressPoints__3_ = GIS_AddressPoints__2_&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Process: Calculate Field&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;arcpy.CalculateField_management(GIS_AddressPoints__2_, "LOCATION", "2", "VB", "")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Process: Add Field&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;arcpy.AddField_management(AddressPointsAgain, "TEStField", "LONG", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801488#M1055</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T15:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801489#M1056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I'm trying to be. 'Exceptionally basic'&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801489#M1056</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801490#M1057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you got that far your better in Python than me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801490#M1057</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801491#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the model builder you can click on the drop down menu for file and export the model as a python script.&amp;nbsp; I have found a number of processes work faster and better if you make the model into a script. I have had a number of models that would not work at all, but did when I made python out of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801491#M1058</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-11T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Editing a layer in modelbuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801492#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running the model now as I type with my address feature as a feature class and it seems like it is working. I still see the address layer in the map when I didn't when it was a shapefile.&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>Fri, 11 Oct 2019 15:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/editing-a-layer-in-modelbuilder/m-p/801492#M1059</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-11T15:14:19Z</dc:date>
    </item>
  </channel>
</rss>

