@ren7SKE8 wrote:
I would like to to use this to update all Title Blocks on multiple layouts in the current drawing with a new title block outside of the current drawing. ....
Do you mean to update to a new definition of the same Block name? If so, and if the new/updated one is a drawing file of its own [not a Block definition within another drawing], and in a place where AutoCAD knows to look, you don't need a routine, but can just do this:
-INSERT YourTitleBlockName=
and say Yes when it asks whether you want to redefine it. [The equal sign with nothing following it means "look for an external drawing with the same name as this Block."] Then cancel without going through with an additional insertion. All insertions in the current drawing will be updated to the new definition.
If the situation is the same but the new one is under a different name, supply that after the equal sign:
-INSERT YourTitleBlockName=NewTitleBlockName
The current Block name will remain, with only the definition of it updated, so you may want to RENAME it.
In both cases, note the hyphen before the -INSERT command name.
If the new one is a Block inside another drawing, rather than a drawing of its own, you can to do it with the Design Center, which offers the option of just updating the Block definition in the current drawing to match that in the external drawing.
Kent Cooper, AIA