Setting forces and getting positions possible with API?

Hi

I'm trying to find out if I can use the SolidWorks API to do some high level simulation.

I would like to set forces and get positions of different elements, so that I can simulate motor control.

Is this possible? Are there any SolidWorks extensions that would make this possible?

SolidworksApi macros