vertex coordinates relative to sheet origin

I'm looking into obtaining vertex coordinates relative to sheets origin. I'm able to get vertexes coordinate relative to models view,

and originally I was trying to change using mathtransform but it didn't work. Does anybody knows of any  alternative way?

Thanks in advance.

SolidworksApi macros