Inline Variables error in ModelBuilder

12-16-2021 02:01 PM
Labels (1)
New Contributor III

This is likely a simple solution, but I have been banging my head on the screen long enough that I need to reach out.

(This is a very simple model I'll end up using on a substantially larger feature class.) For this test, the goal is to export each of the 6 features as their own individual feature class into a gdb. There are no special characters in the NAME field as you can see in the screenshot, but it still throws the invalid characters error. When I replace "%NAME%" with "Blah_%n%" it exports properly. Any hints?



0 Kudos
2 Replies
MVP Esteemed Contributor

why not use this in your model

Split By Attributes (Analysis)—ArcGIS Pro | Documentation

... sort of retired...
New Contributor III

Thank you! This looks like it works like a charm. I'm still not clear on why my attempt at Inline Variables didn't work, though. I'm glad to know about this tool.


0 Kudos