TheSwamp
Code Red => VB(A) => Topic started by: Bryco on August 14, 2006, 11:15:48 PM
-
We draw a lot of blocks and when fastpacing we will draw a plan as a block in a drawing and have the same block in an xref that is inserted in the same drawing. I'm trying to make a sub that allows the user to pick a blockref, then pick the xref that includes the blockref and update the xref. CopyObjects does a great job of adding a new block to the xref drawing but doesn't seem to update an existing block.
Perhaps someone knows how to do this as the help on cloning etc is sketchy.
I'll try deleting objects in the xref block and then replacing them, but if there is another way I would prefer it
-
The InsertBlock Method acts like the insert command, when you insert a block that is already in the drawing it will be updated.
-
Thanks Marco, I'll try it out. And welcome to the swamp.