selected feature as an input into a model

649
4
10-17-2011 02:47 AM
YousafHassan
New Contributor II
Hi
I am trying to build a custom tool using models. I want this tool to fire up and prompt for a feature input. I basically want the user to then select a feature using the select tool.

Is it possible using models? If so, can anyone please tell me how to do this?

Thanks.
0 Kudos
4 Replies
NobbirAhmed
Esri Regular Contributor
You just create a Model with your input features as a model parameter. When you run the tool with some features selected, it will process only the selected features. If no feature is selected then it will process all features. You don't need to prompt the user to select. All model tools works the above way.
0 Kudos
YousafHassan
New Contributor II
You just create a Model with your input features as a model parameter. When you run the tool with some features selected, it will process only the selected features. If no feature is selected then it will process all features. You don't need to prompt the user to select. All model tools works the above way.


Great! Thanks for your help.
0 Kudos
Ariharan
New Contributor
Dont kno, am i asking in right forum thread.
Am developiing window based application in dotnet, can i fetch all the records related to a selected feature(probably Polygon) from its dbf? Can anyone help with code?
0 Kudos
NobbirAhmed
Esri Regular Contributor
You can post your question to ArcObjects forum:

http://forums.arcgis.com/forums/20-ArcObjects-All-Development-Languages
0 Kudos