Select to view content in your preferred language

RemoveEmptyFeatureClassFromGeometricNetwork_management returns ERROR 000584

828
1
Jump to solution
02-26-2021 04:23 AM
LukeHodgson
New Contributor

I'm trying to run the following code

 

import os
import arcpy


CONFOLDER = os.path.abspath(r"C:\...\AppData\Roaming\ESRI\Desktop10.2\ArcCatalog")
NETWORK_EQUIPMENT = os.path.join(CONFOLDER, 'test_db_at_test-1.sde\\NetworkEquipment\\Network_Equipment')

# Process: Remove Feature Class From Geometric Network
desc = arcpy.Describe(NETWORK_EQUIPMENT)
arcpy.RemoveEmptyFeatureClassFromGeometricNetwork_management(NETWORK_EQUIPMENT, "RfConn")  # select count(*) from RfConn -- this returns 0, so I believe it's empty.

 

But get this error.

 

Traceback (most recent call last):
File "\remove_empty_featureclass_from_geometricnetwork.py", line 10, in <module>
arcpy.RemoveEmptyFeatureClassFromGeometricNetwork_management(NETWORK_EQUIPMENT, "RfConn")
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\management.py", line 5096, in RemoveEmptyFeatureClassFromGeometricNetwork
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000584: Implementation of this Tool's Validate is invalid.
ERROR 000584: Implementation of this Tool's Validate is invalid.
ERROR 000584: Implementation of this Tool's Validate is invalid.
Failed to execute (RemoveEmptyFeatureClassFromGeometricNetwork).

 

 

I'm using ArcGIS 10.2.2, ArcSDE10 on SQL Server and the geometric network consists of versioned data.

 

Any idea what I'm doing wrong here?

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

This error typically only occurs in a custom tool. Contact the tool's developer for more assistance.

000584: Implementation of this Tool's Validate is invalid.—ArcGIS Pro | Documentation

I guess that would be you

Programming a ToolValidator class—ArcGIS Pro | Documentation

But this link says

Tools that are not available in ArcGIS Pro—ArcGIS Pro | Documentation

it isn't available(?) 

Remove Empty Feature Class From Geometric Network


... sort of retired...

View solution in original post

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

This error typically only occurs in a custom tool. Contact the tool's developer for more assistance.

000584: Implementation of this Tool's Validate is invalid.—ArcGIS Pro | Documentation

I guess that would be you

Programming a ToolValidator class—ArcGIS Pro | Documentation

But this link says

Tools that are not available in ArcGIS Pro—ArcGIS Pro | Documentation

it isn't available(?) 

Remove Empty Feature Class From Geometric Network


... sort of retired...
0 Kudos