I have created the model below to create "straight lines" from a route (Feature Class is the Route in the model). This model will save me a lot of time compared to doing it manual. The manual steps are as follows: File> Add Data> Add Route Data... New window appears, the route and route identifier are already selected from my TOC, but all the other information must be entered then you hit ok.. route event is created, then the event must be exported to a gdb, added to the map, then symbolized. My issue here is, I would like for the model to recognize my feature class (the route) from within my TOC like the manual window does. I do not want to run my model and every time have to keep adding the route.
I have about 30 maps this model will be run off of. Each route has a different name. Would it be possible to give them an alias name such as "Route" and set the model's "Feature Class" to recognize that instead? So as long as in each different map the route is named "Route" the model will recognize that and I will not have to manually add the feature class (route). Not opposed to python.