We need to evaluate the roundness from the highest points of an outside knurl. This knurl luckily always has the same amount of "teeth".
We scan this outside knurl and then use a script to find all the highest points.
We then create a least square circle from the highest points and evaluate this circle.
The script was created by Hexagon (I don't know how it works).
In it's current state only works on an outside geometry but you could adjust it to your needs.
Explanation how you need to have your routine setup for the script to work: