Select to view content in your preferred language

convert graphic to feature in arcpy?

3224
2
02-25-2012 03:12 AM
lars1
by
Emerging Contributor
apologies if this is easy but I cannot seem to find the answer. Is there a way to convert a graphic to feature, ie use the "Convert Graphics to Feature" tool on the toolbar, within arcpy?

I need to use a graphic as a selectbylayer feature, so either converting it or using the graphic directly would be nice.

Thanks!
Tags (2)
0 Kudos
2 Replies
JamesCrandall
MVP Frequent Contributor
apologies if this is easy but I cannot seem to find the answer. Is there a way to convert a graphic to feature, ie use the "Convert Graphics to Feature" tool on the toolbar, within arcpy?

I need to use a graphic as a selectbylayer feature, so either converting it or using the graphic directly would be nice.

Thanks!


Any solution to this?
0 Kudos
ChrisSnyder
Honored Contributor
As far as I know, there is no way to do this in ArcPy.

However, there are ways to get a user-drawn feature (point, poly, line) as input to a tool. See: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w00000023000000
0 Kudos