0

I am using ArcGIS 10.2.2 for Desktop.

I have a model made in ModelBuilder which currently does:

  1. input XY coordinates excel table
  2. data display XY event
  3. converting a format event shape
  4. add field "name1"
  5. add field "name2"

So far so good but my problems are:

  1. the model only works so edition
  2. I cannot add tool to make a selection of my new shapefile

enter image description here

3
  • I'm not sure what you mean by "1.the model only works so edition" and I think this must relate to the title you wrote of "model only runs open modelbuider" which is not clear to me either. In any event, that looks like it should perhaps be asked as a new question because @mapBaker has already addressed the clear second problem/question in a way that I have upvoted.
    – PolyGeo
    Commented Aug 19, 2014 at 22:21
  • sorry for my bad english try to explain Error 1) Click on my toolbox 2) Right click on my model 3) open 4) add data model -------------------------------------------------- ------------------------------------- no error 1) Click on my toolbox 2) Right click on my model 3) edit 4) add data model
    – user22547
    Commented Aug 19, 2014 at 22:52
  • There's no need to apologize for your English because I admire everyone who asks questions here in something which is not their first language. Unfortunately, I'm still not sure how to help in this instance. If there is a problem that you still need help with would you be able to ask this part as a New Question, please? That way you will have better options for formatting and we can try to answer that specific question.
    – PolyGeo
    Commented Aug 19, 2014 at 23:12

1 Answer 1

3

Connect a 'Make Feature Layer' tool in between the .SHP and the 'Select Layer by Attribute' tools.

Creates a feature layer from an input feature class or layer file. The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved.

'Select Layer by Attribute' assumes you're going to use a layer in the MXD. To convert any file to a 'layer'. you can use this tool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.