Clip and ship by a queried layer extent and by user defined extent

Discussion created by alex92190 on Mar 27, 2014
Hi all,
I am trying add a functionality to the clip and ship script. I would also like the users to extract data by the extent of a queried feature layer. For instance, if County = "Alameda" then extract data that falls only within the Alameda county extent. Else, allow the users to hand draw an selection area. If any of have clues or ideas I would love to hear about it.
Thank you,