Thank you very much for your help, the above code have finished the above function I seted, a celebration~
At before, I thought if I can achieve the above code, then I can make changes, and then complete the final function, but I can’t -_-
The above code is still need one step, in fact, I want to control the position copied into the new graphics ,
For example, I want the block which in the original drawing coordinates is ( 0,0,0 ) will be copied to a new position specfied by cursor in the new drawing, I think this needs to move an object , the method may be used is similar with:
acCirc.TransformBy (Matrix3d.Displacement (acVec3d));
But I can not find something equivalent to the acCirc object form your code.
Can you finish it?
The problem is I am not familiar with WblockCloneObjects () method, and IdMapping class, I do not know how to use.
Let me think about my mastery of AtuoCAD, now I'm not too familiar with AutoCAD 's API, The basic API I know all learn from AutoCAD Developer Guide, I just basically modify the sample code.
I very much hope to further study, but there is no sample code in ObjectARX_2010_Win_64_and_32Bit, it seems not easy to understand, do you have any good way?
Sincere wishes!