cannot paste in place at the the same position use copy command via indesign sdk
Hi,
I have a page as facing pages.

Then I create a page and the setting like below

then copy the page items above and paste it by below script:
InterfacePtr<ICommand> copyCmd(CmdUtils::CreateCommand(kCopyCmdBoss));
if (!copyCmd)
break;
InterfacePtr<ICopyCmdData> copyCmdData(copyCmd, IID_ICOPYCMDDATA);
if (!copyCmdData)
break;
copyCmdData->Set(
copyCmd,
new UIDList(frames),
parentUIDRef,
dataExchangeHandler
);
status = CmdUtils::ProcessCommand(copyCmd);
But seems it pasted position is not correct, The expected postion should in still in the page but not part of it on the paste board.
Thanks
Jack
