Hello,
I need help to shed some light on what happens during the COPYCLIP and PASTECLIP commands.
The scenario is this:
I have blocks that keeps track of other blocks and objects with help of Xrecords.
Much like Keans example of linking circles, http://through-the-interface.typepad.com/through_the_interface/2006/11/linking_circles_1.html
Now I need to support copy/paste of those blocks.
For example Block1 has a reference to Block2.
When the user makes a copy of those two blocks, Block1Copy and Block2Copy, I need to update the reference in the Xrecord of Block1Copy so it points to Block2Copy instead of Block2.
I've been looking at the events InsertMappingAvailable and BeginDeepCloneTranslation. There seems to be a lot of temporary databases involved in the mapping and nowhere can I locate an IdPair that points back to one of my original blocks?
I would be grateful for any tips on how to go about with this.
//Jan-Eric Fernlöf