Extract roof forms script error

507
1
11-18-2021 07:33 AM
p_christov
New Contributor

Hello,

I'm trying to extract the buildings from a point cloud and get the following error:

Adding roof form field domain...
DescribeData: Method domains does not exist
Error on line 2363
Error in file name: C:\temp\3DBasemaps\scripts\bm_common_lib.py
with error message: AttributeError: Object: Error in parsing arguments for Exists
Failed script Extract Roof Form...
ERROR:root:Error on line 2363

I think this is because of this part of the script "extract_roof_form.py" (lines 2363 and 2364):

 if arcpy.Exists(output_fc):
 arcpy.ClearWorkspaceCache_management()

because Clear Workspace Cache only works with enterprise geodatabase workspaces.

When I commented line 2364 I was able to complete the task without errors. But this not always works.

I'm using ArcGIS Pro 2.8 and the latest solution. Any help will be appreciated.

Best regards,

Peter

 

 

0 Kudos
1 Reply
GISgis3
New Contributor

I am having the same issue.  I'm on version 3.0.1.  

Any progress on this.  

0 Kudos