You're welcome. Hope you can learn something new. I don't use a2006 yet,
so I don't know anyting about dynamic blocks.
--
Tim
"A blind man lets nothing block his vision."
"Allen Bennett" wrote in message
news:5124600@discussion.autodesk.com...
Hi Tim,
Thanks for your time.
Allen
"T.Willey" wrote in message
news:5124338@discussion.autodesk.com...
What Jeff is talking about is. Once you know that the block exist in the
current draiwng, then erase all the objects that define the block in the
block collection, and then copy all the new items into it. If you have
attributes, then you will need to find all the old version, and use
attsynce, or reinsert them as I did in my code in the thread I posted
before.
--
Tim
"A blind man lets nothing block his vision."
"Allen Bennett" wrote in message
news:5124283@discussion.autodesk.com...
Hi Jeff,
Ok, I can successfully copy the block into my drawing, but if it already
exists, it doesn't seem to redefine it. When you say "If it does exist,
delete all objects from it", are you saying delete all occurrences of that
block in my current drawing? If so, I need to keep them and have them
redefined by the block I'm bringing in from the DBX_DOC.
Any more direction would be greatly appreciated.
Thanks,
Allen
"Jeff Mishler" wrote in message
news:5124255@discussion.autodesk.com...
'CopyObjects.......
If the block does not exist in the current drawing, Add it first.
If it does exist, delete all objects from it.
Use the CopyObjects from the DBX_DOCUMENT and specify the block object in
the current drawing as the new owner.
Yes, it will redefine the block.