Measure Angles Between Coordinate Systems and Axis

The Measure Tool in SOLIDWORKS has a serious limitation when coordinate systems are selected: it does not report angles!!!

or

 

Can the angle measurements be done by API?

The first selected COORDINATE SYSTEm should be the reference frame. 

SolidworksApi/macros