Hi,
as the header says, I do have a problem in getting only the datasets I want. In the following my parameter definition is shown, where from I would expect to get only feature classes of type point to be shown.
p_envWorkS = arcpy.Parameter(
displayName = 'Workspace',
name = 'in_ws',
datatype = 'DEWorkspace',
parameterType = 'Required',
direction = 'Input',
category = '1. Input Settings')
p_envPoints = arcpy.Parameter(
displayName = 'Input FeatureClass',
name = 'in_fc',
datatype = 'DEFeatureClass',
parameterType = 'Required',
direction = 'Input',
category = '1. Input Settings')
p_envPoints.parameterDependencies = [p_envWorkS.name]
p_envPoints.filter.list = ['POINT']
However, the following screenshot shows all kind of content. Even feature datasets are listed... hence the name 'roads' shows twice.
Does some of you know where I am going wrong or what I am missing the get the correct feature type shown?
Best regards,
Thomas
- We are living in the 21st century.
GIS moved on and nobody needs a format consisting out of at least three files! No, nobody needs shapefiles, not even for the sake of an exchange format. Folks, use GeoPackage to exchange data with other GIS!