import arcpy if __name__ == '__main__': fc = arcpy.CreateFeatureclass_management("in_memory", "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") arcpy.Delete_management(fc)
Solved! Go to Solution.
import arcpy if __name__ == '__main__': fc = arcpy.CreateFeatureclass_management(arcpy.env.scratchFolder, "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") arcpy.Delete_management(fc)
import arcpy if __name__ == '__main__': inWorkspace = arcpy.GetParameterAsText(0) fc = arcpy.CreateFeatureclass_management(inWorkspace , "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") arcpy.Delete_management(fc)
import arcpy if __name__ == '__main__': fc = arcpy.CreateFeatureclass_management(arcpy.env.scratchFolder, "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") arcpy.Delete_management(fc)
import arcpy if __name__ == '__main__': inWorkspace = arcpy.GetParameterAsText(0) fc = arcpy.CreateFeatureclass_management(inWorkspace , "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") arcpy.Delete_management(fc)
if onServer: #do the stuff