Interactively placing and rotating a block insert

#1
I am trying to interactively (from my sds application) all the user to place and rotate a block insert similar to the way one does it using the insert block... menu option.

I am programatically inserting the block at 0,0,0 and then via sds_draggen I allow the user to move the block by clicking on the location they would like to place it.

I can't seem to figure out how to allow the user to rotate the block after selecting the insert point.

Any suggestions?

Thanks,
Jon