1

This has started happening across a couple models I've made. I'll have a basic submodel that links to a buildings layer for an entire country (for example), then clips and buffers and saves it with predesignated names in a predesignated geodatabase.

Constraints_buildings submodel to clip and buffer a house layer and save in a predesignated place. This submodel works without issue.

That works fine. However, when I group several similar submodels together and link use their outputs to as inputs for the erase tool I get error 000732 (Dataset does not exist or is not supported). The model will run all of the submodels and save the features in the correct places with the correct names, but it won't run the final erase tool. I can run the erase tool by itself after the model has failed with the features the model created, but it won't do it in the model.

A simplified version of the model that does not work. The real model just has more submodels that do the same clip and buffer as the submodel shown.

I made each feature a precondition for the erase tool like suggested in this answer but no luck. When I validate the model I get the following warnings saying that there is a duplicate dataset name. I don't know if this is related, but maybe it's getting confused as to which name to use for the erase tool. Otherwise, how can it the erase tool not recognize where the created in the ModelBuilder tool are if they are linked directly to the tool?

When I validate the model I get these warnings that I'm making duplicate names. Not sure if it's related to the problem though.

1 Answer 1

1

Your screen shot shows that what you are calling the erase tool is not the erase tool but a python script tool called RES_Erase. No one has any idea what's going on in there.

The buffer tool outputs a Feature Class, thats is what the syntax section of the help file is telling you.

Maybe the input of your script tool is expecting a Feature Layer? We don't know as you don't show the parameters of that tool.

Thats is where I would start looking.

1
  • Gotcha, yea my company only has a basic license so we don't have the ESRI Erase tool and just made our own. I'll ask around for what that tool is looking for exactly. Thanks
    – David
    Feb 8 at 8:30

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.