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?