Let Modelbuilder Tool execute differently depending on available license

Discussion created by MarjoleinS on Mar 27, 2011
Hi All,

I created a tool in ArcGIS ModelBuilder where output data are interpolated towards a surface with the Spatial Analyst Natural Neighbor function. Now, this tool will be distributed and some users will not have a SA extension. Is it possible to define the outcome of the tool depending on the available license? So, points if the license is not available and a surface is the license is available. I tried with a boolean (the interpolation will only execute if the boolean is True), and this works, but if I turn off my SA extension, the tool will not launch and is telling me that the SA license is missing. This is very logical, I know, but there has to be a way to get around this? Maybe with Python? Could somebody give me some advise?