Come on folks! A week and nobody has any thoughts on this? A lot of looks, though.
Meanwhile I am struggling with a variety of other Python issues and starting to feel that it just is not far enough along in terms of integration with other IDEs and the full suite of ArcGIS tools available through ArcObjects.
Just a couple of examples:
1) In a Script Tool that runs a Python script, you can create a new Feature Class that is saved in your Geodatabase (or a Shape File if you want to go that route), you just can not add it to your map display. ArcPy.mapping has the AddLayer function, but this is truly for "layers" (as in .lyr) files. So you have to already have a .lyr file defined, update the references to any data in the lyr file to your new Feature Class, then add the lyr file to your map or refresh the lyr file that is already in your map.
2) And this relates to #1 above. Lets say you need to do a multi-step script where you first create a new data set (e.g. copy an existing Feature Class so you can do some modifications to it), and then you need to select a set of records from that new data set (SelectLayerByAttribute), and then do something like calculate values for those new records or buffer them. Since you have no way of adding the copied data set to your map, your select fails (the Feature Class you are selecting from only exists on disk). There may be a way to use Scratch layers or something like that, but the documentation is so thin that I can not find a simple example that shows me how to go about it. If this were done in a model, then the intermediate Feature Classes could be automatically added to map and used. So far I can not see a way to add intermediate steps from a Python-based Script Tool to the map.
OK, that's my rant for the time being. Please ESRI, get some decent documentation for the shift from VBA to .NET and Python! If this is our future, then make it understandable to the average developer. I've been programming in ESRI products for 13 years and this latest shift has left me dreaming of simpler day back in Avenue.
-T