How can I apply a transformation matrix to a .stl

I have a transformation matrix and a rotation matrix for an .stl model of a bone. How can i apply them? Is there a macro to do this?

SolidworksApi macros