Thanks. I hope the code serves you well. I'm also learning myself amd I am sure a lot better code exists. Try the #beempy stuff by @holger80, he just made a draw feature that is really fun tonexplore, but maybe not beginner level to fully understand.