Solved
I haven't looked at that horrible flowchart but rather followed the description in the text above, corrected your routine and provided also one with a slightly different approach.
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

