AnsweredAssumed Answered

Trying to pass user digitized feature set to python script and use as in_memory

Question asked by mmestrov on Sep 16, 2014
Latest reply on Sep 16, 2015 by FGibson-esristaff

I have a python toolbox script which has a featureset parameters which allows the user to digitize an area of the map.  My script then runs and I need to pass that featureset to MakeFeatureLayer as in_memory.  I can actually see the in_memory name (something like "in_memory\{871F29F4-CC9C-4613-8352-8C6072757729}) but when it gets to MakeFeatureLayer I gues an error that it does not exist.


I found the help for Error 0000732 35151 - 000732: Dataset does not exist or is not supported .  I'm good on everything in that post but still having issues. If I use a pre-created shapefile or file geodatabase layer which is on disk it works.


I really need the user to be able to define their area of interest so I need to pass the geometry from the screen and in_memory via a parameter seems the only way.



Any thoughts.