For a task I have, I need to find if the material changes between pipes. I.e. if 2 segments have the same material, I don't flag them, but if the material between two segments changes, I flag them. I don't want to do this manually, but I'm not sure an automated method for doing this exists in ArcMap so I will may end up having to write a script. Before I do that, I wanted to see if anybody knows a simpler way of doing this. I'm sure I'm not the first to have faced this problem.

Thank you!