Esri/air-c2-cop-python

Create 3D ACO Tools

Opened this issue · 2 comments

Whenever I run the GP tool to create the 3D ACO's I get an error:

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\temp\tools\scripts\airspacemanagement\create3DACO.py", line 24, in
arcpy.AddMessage("Processing 3d Geometry for " + row[4])
TypeError: cannot concatenate 'str' and 'NoneType' objects

Failed to execute (ConvertACOto3D).

@tquink

Tyson,

What are you using as your input feature class? is it the AirC2_ACO_POLYGON that is created when importing the Airspace Control Order? If not, the script is expecting to have at least the following fields present in the input feature class:

fields = ['OBJECTID','MIN_HEIGHT','MAX_HEIGHT','SHAPE@',"NAME"]

I would guess that the error above is that the NAME field contains empty values, I would expect a different error if the NAME field didn't exist.