Setting Autopilot Pitch

This simvar - AP_PITCH_REF_SET - seems to indicate that the autopilot can be
commanded to a specific pitch. I have tried using it with no success. Am I
wrong about its purpose? If not, how is it used?

I’ve been able to set the pitch reference with that eventID but the input
values are strange. Inputting a value of 15000 resulted in a pitch of approx.
10 degrees. That is from a WASM gauge.

Hello @chuckv @MartynJF This event expects a value going from -16383 to 16383
and is then interpolated using the autopilot max_pitch parameter to get
degrees. @Nocturne FYI Regards, Sylvain

Ok, thanks to both of you for an answer.