On the first think, I would say you need to copy the entity from your xref (to your current drawing, move this entity relating to the displacement of your xref. Scale by your xref scale. Rotate by your xref rotation.
Dim bDB As New Database(false, false)
bDB.ReadDwgFile("XrefPath",IO.FileShare.Read, True, "")
use WblockCloneObjects you can check on the forum.
Then use the IntersectWith method.
Maybe erase new entity.
Good luck!
Bert
Edited by: bertyboy on Apr 9, 2010 4:36 AM
Edited by: bertyboy on Apr 9, 2010 4:39 AM
Edited by: bertyboy on Apr 9, 2010 4:39 AM