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 = Truefcs = 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')
Disperse Markers—ArcGIS Pro | Documentation
You need a feature layer, you have a featureclass