jgcox

using selection via mouseclick as input into script

Discussion created by jgcox on Mar 5, 2011
Latest reply on Mar 7, 2011 by jgcox
Howdy,

  I'm trying to build a tool that would allow a user to click on a feature in a layer and change its symbology. I currently think that I'm going to have to copy the selection into a new feature layer and add it on top of the map. However, I'm having trouble figuring out how to have a tool-based script accept something selected on the portrayed map as input. I'd be fine with having the tool just work on whatever was selected at the time the tool is run, or having it request the user click on features on the map. I just can't figure out how to get the script to accept selection that weren't created within the script itself.

Thanks for any help,
jonathan

Outcomes