4

I found out that I can run a tool I created in ModelBuilder by clicking the run button after clicking to edit the tool. However, it doesn't produce the same results if I run the tool after clicking on it using the ArcCatalog window.

This doesn't work:

enter image description here

But this does:

enter image description here

Correct Output:

enter image description here

Incorrect Output:

enter image description here

Does anyone know why this may be happening?

  • Do you supply all the parameters when running the tool from the Catalog window? What kind of error do you get? How do you justify whether the model run successfully or not? – Alex Tereshenkov Jan 28 '15 at 14:52
  • The user has to input the selecting features, the input feature layer, the selection type and the buffer radius. It's not so much an error that I get, but I expect the buffer layer to appear and it doesn't while using the Catalog window (it does when I click run in ModelBuilder). I know the model has run successfully when the buffer layer appears. – EmilyF Jan 28 '15 at 14:54
  • Can you publish a screenshot of the model? I am suspecting something is missing when setting the output to be added to display (either in model parameter) or in ArcMap > Geoprocessing menu > GP options). I've seen this kind of behavior earlier and had to fix this with adding an additional step on copying the output result to in_memory with Copy Features to force this to show up in the TOC. – Alex Tereshenkov Jan 28 '15 at 15:07
  • If you re-start arcmap /aAc catalog, does it work the 1st time from the catalog window? Also, I'm assuming this is your model? gis.stackexchange.com/questions/132128/… – Dan_h_b Jan 28 '15 at 15:09
  • It doesn't work when restarted, and yes that's my model! – EmilyF Jan 28 '15 at 15:24
1

I made the output feature class of the buffer portion of my tool (CSRS_ORN_NER_Buffer%n%) a model parameter, and even though when I run it it says theres a datum conflict, it seems to work fine through both the ArcCatalog window and ModelBuilder application.

enter image description here

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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