Select to view content in your preferred language

Disperse Management tool input issues.

349
1
06-08-2020 01:40 PM
ColtonLuttrell
New Contributor

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')
0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Disperse Markers—ArcGIS Pro | Documentation 

You need a feature layer, you have a featureclass


... sort of retired...
0 Kudos