Set the transformation matrix

Hello,

I need some help regarding the rotation of Components in an assembly. I want to generate many .STEP files of a screw. In each one the scew has a different position. So I added the screw as a component on an Assembly. Now I am looking for a method to rotate this component with respect to 2 axes. Is it possible to update the transformation matrix after every rotation and save the file. If so, where can I find some examples for setting the transformation matrix?

Best regards, Iyed

SolidworksApi/macros