What steps would be required to update block inserts based on referencing the source block's folder or possibly specifying more than one folder from which the block inserts can be updated from?
This is actual code in a slightly unusual language, so it should fit your bill. It defines an extension method to Database which does the updating of the block definitions via a side database, you'd need to wrap in a loop for your list of file names.
type Database with
member destDb.InsertBlock fileName =
let destBlockName =
SymbolUtilityServices.GetSymbolNameFromPathName(fileName, "dwg")
let destBlockName =
SymbolUtilityServices.RepairSymbolName(destBlockName, false)
use db = new Database(false, true)
// Read the DWG into our side database
db.ReadDwgFile(fileName, System.IO.FileShare.Read, true, "")
let srcIsAnnotative = db.AnnotativeDwg
destDb.Insert(destBlockName, db, false) |> ignore
// Returns block name * bool (true if annotatiove)
destBlockName, srcIsAnnotative
What steps would be required to rename attribute tags and retain the attribute values?
That one may be straightforward, the AttributeReference.Tag property is settable.
Cheers