Wednesday, 16 March 2016

arcpy - Filter the Feature Layer parameter in Python Script Tool


I have a Python script tool where I have a parameter of type Feature Layer because I want to have the already opened layers as a dropdown list.


I was wondering if there is a way to filter this Feature Layer parameter dropdown list in order to show Polygon Shapefiles only?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...