arcpy.env.overwriteOutput = True #sr = gp.CreateSpatialReference("C:\\Program Files\\ArcGIS\\Desktop10.0\\Coordinate Systems\\Geographic Coordinate Systems\\North America\\NAD 1983.prj") sr = "#" result = arcpy.CreateFeatureclass_management(r"E:\scratch\scratch.gdb", "Test", "Point", "#", "#", "#", sr) ptfile = result.getOutput(0) arcpy.AddMessage("output feature class is: " + ptfile) arcpy.SetParameterAsText(8, ptfile) arcpy.AddMessage("Checking: set output parameter 8")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.