How to nest IDL code into Python script for use as a tool in ArcGIS ModelBuilder

Discussion created by m.vanhoek on Feb 3, 2013
Latest reply on Feb 4, 2013 by m.vanhoek
I have developed some code in IDL using ENVI and now I would like to use this code as a tool in my model in ArcGIS ModelBuilder.

My first thought is that I need to develop some kind of script in Python which can pipe input to my IDL code and can receive the output from my IDL code. This Python script has then to be converted into an ArcGIS ModelBuilder tool.

But I???ve no experience in doing this. Is there anybody who can give me some guidance, pointers or links to useful examples/tutorials?