Take a look at #TASK and 'Replace Sheet Format' task which replaces sheet formats by file path:
Replace Sheet Format
Finds and replaces 'slddrt' templates in drawing sheets. User should tick option 'Run Macro For Each Configuration' in #Task settings so that macro is launched for each drawing sheet. Task allows to replace 5 templates at a time. Any template will be replaced if in "Find" field "*" is placed and in "Replace With" a path for new template is present.