I have a feature class consisting of about 100 or so lines. I'm trying to use ModelBuilder to generate a profile table for each line so that I can generate elevation profiles for each one. My model is below.
I want each profile table to have the same name as the Name variable so the path ends with %Name%. Whenever I try to run the model like this, it returns Error 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. I would rather not contact ESRI support.
I've come to the conclusion that the inline variable substitution is what's causing the problem as when I run the model giving Profile Table a fixed name at the end of the path, it runs to completion and one profile table is present in the destination folder. It's the profile table for the last feature that gets iterated. I'm not very experienced with ModelBuilder so it may be something obvious that I'm missing.
Does anybody have any idea what the root of this issue may be?