Any way to get the angles associated with the Attitude Indicator?

Unfortunately, those are only for getting the current values, rather than getting the values that tell you what the AI (or, if there is no in-plane AI, the MSFS third person HUD AI) considers “the safe zone”.

On most planes the safe zone has notches for 10, 20, and 30 degrees, but on something like the Top Rudder, if you look at the third person view AI, each notch visually corresponds to 6 degrees, but when you sample the actual values at each notch, more like 4 degrees instead, with a safe max bank corresponding visually to 18 degrees, but practically mapping to 12 degrees, and I’m trying to figure out how to let my SimConnect code know what that safe max bank is. MSFS itself must be getting that information from somewhere in order to show an AI with non-standard notches, so hopefully there’s a SimConnect way to get that information, too?