Macro - Snap to Rectangle Center

I'm looking for a way to automate the "snap to rectangle center" command for notes. Typically you select all sides of a rectangle plus the note, and then right click and select "Snap to Rectangle Center."

I tried to record a macro, but it does not record the snap function, only the selections.

Any ideas? I'm using 2016 SP 3.0

SolidworksApi macros