Can a in_memory and a inline varible be combined as an output?

1785
10
Jump to solution
05-25-2017 12:54 PM
BrianWade
Occasional Contributor

In ModelBuilder I’m iterating multiple shapefiles to intersect against a single point layer, then write out using feature Class to Feature Class tool (I only want 2 columns in the output file).

 

I would like to have the Intersection output "in_memory" for quicker processing.

I also need to have the input polygon filename in the final output.

 

This works without the "in_memory"

 

Seeing the error message below is leading me to believe my issue is that I can't combine "in_memory" with a %name% inline variable as output of my intersect tool?

 

Also if I can accomplish this, won't I need to change my Feature Class to Feature Class tools input to in_memory also?

 

Any Help is appreciated

 

Thanks

Brian

0 Kudos
10 Replies
NobbirAhmed
Esri Regular Contributor

Writing to in_memory should be faster if the computer has enough RAM.