Hi all.
Hoping someone can help or tell me that this is not possible.
I have an application that must to do it and I'm sure I'm couldn't be treading new ground.
I need to review the cloned ObjectIDs before or after the operation. Apparently something like this:
Public Sub db_BeginDeepClone(ByVal sender As Object, ByVal e As Autodesk.AutoCAD.DatabaseServices.IdMappingEventArgs)
Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor
For Each idp As IdPair In e.IdMapping
If idp.IsPrimary AndAlso idp.IsCloned Then
ed.WriteMessage("{0}Key:{1} Value{2}", Environment.NewLine, idp.Key, idp.Value)
Dim br As BlockReference = DirectCast(trans.GetObject(idp.Value, OpenMode.ForRead, False), BlockReference)
End If
Next
End Sub