how to get part's origin in assembly?

in assembly ,there is origin ,it's value is 0,0,0, and I insert a part, and this part have  an origin, the two origin is not coincide.

How can I get the origin coordinate of the part's,?

thanks andvance

zhengjun yuan

SolidworksApi macros