Add mark to structural foundation and automatically tag

Renumbering has been solved a few times. Try this one: Renumber Piles left to right or top to bottom - #15 by Vikram_Subbaiah

There are also multiple examples of tagging - check the forum for those and you should be squared away.