Macro to release sharp corners

Hi guys,

Maybe is something already outhere ready to use. If not I am trying to write a macro (also to learn some API) to clear (release) sharp corners before milling to be able to be milled but still leaving enough space for sharp inserts.I am geting closer to the solution but got stuck on a probably stupid issue.When I draw a PerimeterCircle I get every second one?? I get stuck in the Circle dialog?Find attached printscreens and macro.Another question is how to get the angle of two face edges .

I approcciate any help.

SolidworksApi macros