I am writing a Python toolbox. I have an input parameter which should accept a Simple Edge (part of Geometric Network) or a polyline feature class (no edge).
How can I use the Filter list so it can see both Simple Edge and Polyline feature class types? It looks like the filter doesn't work with simple edge.
param2 = arcpy.Parameter(
displayName="Gravity Main Links",
name="fcLink",
datatype="DEFeatureClass",
parameterType="Required",
direction="Input")
# if I comment out this line it sees the simple edge
# but it shows all types of feature classes. I just need to see polylines
param2.filter.list = ["Polyline"]