How can i access the key in motion study solidworks using API

I would like to now how can i access the key that created during motion study in solidworks by using API. I have tried few times, but not manage to do it..

SolidworksApi macros