Is there any ways to automate a motion study in solidworks by using API?

automate a motion study in solidworks by using API

SolidworksApi macros