Select to view content in your preferred language

Making tools that can take either layer or feature class as input

891
2
09-07-2011 05:30 AM
CrispinCooper
Emerging Contributor
When using arc's inbuilt tools (e.g. data management->fields->delete field) it is possible to drag a layer onto the input parameter box, even though the tool may have requested a table or feature class.  This is great for usability 🙂

However, it's not clear to me how to implement this behaviour when writing custom tools.  Are there any examples around?

Thanks!
Tags (2)
0 Kudos
2 Replies
LoganPugh
Frequent Contributor
Use either a Feature Layer or Table View parameter.
0 Kudos
CrispinCooper
Emerging Contributor
Thank you! 🙂
0 Kudos