Looking for a routine....

I am looking for a routine that will alow quick manipluation of a part that has been inserted into an assembly and has free DOF's.  Here's how I would like to work....

Select a planar face on the part and then with a simple keystroke (maybe ctrl+R) rotate the part about the selected faces plane.  If teh part is not free to rotate on the plane either do nothing or prompt with a message.

Can anyone help me out with this?  I have no SWX API experiece and am looking for someone intested in taking on this little project.

SolidworksApi macros