"zoom to selected feature" possible in arcpy.mapping?

1918
4
12-07-2011 01:51 PM
JoshuaChan
New Contributor III
I'd like to have the user input a value as an argument that would then be used to do a "select by attribute" against a point dataset. Is it possible to "zoom to selected feature" using arcpy.mapping or some other python module?
0 Kudos
4 Replies
JoshuaChan
New Contributor III
My browser won't let me open your word doc attachment.

Can you copy and paste it here?  please & thank you?



I had the same problem.. Here is a solution provided to me by Barbara Bicking from ESRI..
0 Kudos
JoshuaChan
New Contributor III
I get the error message:

"Forbidden - You don't have permission to access /attachments/ on this server."




I had the same problem.. Here is a solution provided to me by Barbara Bicking from ESRI..
0 Kudos
AlexGray
New Contributor
Try this..
0 Kudos
JoshuaChan
New Contributor III
Thanks.

That changed my data frame extent but not necessarily to my selected feature. I'm doing some trouble shooting but I seem to be moving backwards now. I'm troubleshooting my troubleshooting as my script has stopped working altogether and my 'check' area where I'm trying to see how many features actually get selected returns some strange error.

Days like today I miss AML.




Try this..
0 Kudos