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
Answers 1
SF
SF 2014-06-05 Best Answer

If anybody is having same problem here is the solution:

https://forum.solidworks.com/message/141098#141098