How to programatically change view extent based on user input from script tool)

643
0
04-20-2012 10:07 AM
RoyHewitt
New Contributor III
I can't for the life of me find a fix to this. 

I need to change the extent of my view extent to a given parcel of land (which is a user input in a script tool).  My current methodology is to create a feature layer, then select it, then zoomToSelectedFeatures().  The problem is, the feature layer isn't automatically added to the Map when that line of code is executed.

I've tried many fixes, and been back and forth with an ESRI Rep (who apparently grew tired of my problem and has since stopped responding to my inqueries).

For more background, including photos and suggested solutions, you can check this out:
http://gis.stackexchange.com/questions/23348/add-feature-layer-to-display-with-in-a-script-tool-for-...

I've been trying to find an answer to this for a while, but I suspect it's the fault of the Script tool Properties.
Tags (2)
0 Kudos
0 Replies