
Not applicable
11-18-2019
06:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I try to deepclone a block reference and append it to a new block. When I append the new block reference to the model space, I found that the insertion point become the new Point3d(0,0,0). But the new block reference is in the same position in the model space as the original one.
IdMapping idMapping = new IdMapping(); db.DeepCloneObjects(objectIdsToBeInsertedToANewBlock,newBlockId, idMapping, false); BlockReference br = new BlockReference(new Point3d(0,0,0), newBlockId); modelSpace.AppendEntity(br);
When I try to change the insertion point of the new block reference to the origin, the new block reference is moved to the origin.
I want to keep the insertion point and place in the model space of the new block reference as the same as the original one.
Solved! Go to Solution.