My model gives this error message when it tries to do the Clip function

Error Message

Here is the first half of the model showing the parameters used in the clip function


I have successfully run this model when the clip function output was writing to disk but when I changed it to in_memory it stopped working. Any suggestions? I really don't want to write all 3000 files to my hard drive.

  • 2
    did you try removing the ".shp" from the Output Feature Class? – mwil Dec 4 '13 at 16:51

in_memory workspace is styled as a gdb so it should work if you delete the ".shp"


"A table, feature class, or a raster written to the in-memory workspace will have the source location of GPInMemoryWorkspace, as illustrated below."

  • @see24, since mwil successfully answered your question, please mark his answer as "accepted" (checkbox next to the up/down arrows) to close this thread. thanks! – RyanDalton Dec 4 '13 at 18:13
  • +1 although my understanding is that while you can think of an in_memory workspace as being more like a file geodatabase it is not one – PolyGeo Dec 4 '13 at 19:38

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.