Moving Detailed View to different Sheet

Hi,

I am trying to move detailed views created in a sheet to another sheet. What are the steps involved in doing that via API.

I am running modelDoc2Ext.RunCommand to cut the selected detail view from the sheet, but there are two road blocks.

a) A pop up comes for confirmation - My automation would involve moving multiple parts like this and i don't want those pop ups.

b) Is there a better way for achive the same ? Any sample for the same will be appreciated.

SolidworksApi macros