Ryan,
If your file names are consistent with a set of standard suffixes you may be able to use wildcards in the if statement. Here is an untested snippet:
if att.AttachName like "*TB.dgn" or att.AttachName like "*Align.dgn" then att.LogicalName = att.DefaultLogicalName att.Rewrite End if
Dan