I'm trying to use StackProfile_3d in arcpy for the first time, and I'm receiving this error:
ExecuteError: ERROR 001020: Input series error. IDS_MSG_MAKEGRAPH_INVALIDGRAPHTEMPLATE
The help link for error 001020 says:
"For each series in the output graph, different properties have to set based on the type of graph. For example, for the vertical bar graph, it is important that you specify correctly the input dataset and the field for plotting values along the Y-axis. An error occurs if the properties of the graph for individual series are not specified properly. Solution: Specify the required properties for the individual series."
The Stack Profile (3D Analyst) help page and examples don't indicate that series properties need to be specified.
The parameters I'm passing to the tool are a line feature layer and an elevation raster, and the output table gets generated but the graph does not. In the output table, however, the SEC_DIST and SEC_Z values are all 0.
Any suggestions for what I'm doing wrong?
Marshall
Update: the error seems to be resolved in ArcGIS 10.2.2.
Correction: the error went away after I installed 10.2.2 Desktop but BEFORE I installed 10.2.2 64-bit geoprocessing. The error returned when I installed 64-bit geoprocessing. Note the error occurs when StackProfile_3d is executed in both arcpy and ArcCatalog.
I'm seeing this behavior in ArcGIS 10.5 with 64-bit geoprocessing installed. Any updates? Was this ever identified as a bug by ESRI?
I disabled the Background Processing in the Geoprocessing Options in 10.4.1 and it runs for me.
Can confirm this bug is still present in 10.8.2. You need to disable background processing.