AnsweredAssumed Answered

Disperse Management tool input issues.

Question asked by colton.luttrell20 on Jun 8, 2020
Latest reply on Jun 8, 2020 by danretired

I cannot get DisperseMarkers_cartography() to function. No matter what I try I receive ERROR 000732: Input Point Features With Marker Representations <dataset> does not exist or is not supported.  My paths are correct, and feature classes are present in my scratch.gdb. Snip of code below.


scratch = os.path.join(r'C:\Users', getpass.getuser(), 'Documents', 'ArcGIS', 'scratch2.gdb')
arcpy.env.workspace = scratch
arcpy.env.overwriteOutput = True

fcs = arcpy.ListFeatureClasses()
for fc in fcs:
   arcpy.Delete_management(scratch +'/' + fc)
tables = arcpy.ListTables()
for table in tables:
   arcpy.Delete_management(scratch + '/' + table)

arcpy.Select_analysis(gdb + "\\FIBERCABLE", scratch + "\\drops", "category = 'DROP'")
arcpy.FeatureVerticesToPoints_management(scratch + "\\drops", scratch + "\\end_points", "BOTH_ENDS")
arcpy.CopyFeatures_management(scratch + '\\end_points', scratch + "\\end_points_2")

arcpy.DisperseMarkers_cartography(scratch + "\\end_points_2", '0.5 Feet', 'Ring')