Hi,
I am trying to create a python toolbox in arcgis pro to convert polygon to raster. The polygon is supplied as feature layer in the parameters, and I used both arcpy.GetParameterAsText(1) and arcpy.GetParameter(1) to call this polygon to execute the conversion, but it is not working. I get an error - Polygon doesn't exist or is not supported. Could anyone provide a solution to it?
Thanks in advance.


