10 April 2021
Replace the Reference File Paths in All of Your Sheet Files at the Same Time!
By Rick Sewell
Have you ever completed a project and then found out that the client needs some of the references saved with a different path? The purpose of this article is to show you how to replace the reference file path saved in your sheet files — while retaining all of your varying reference file names — in just minutes.
- Load RefManager from your “Axiom” menu in MicroStation.
- On the main dialog box, set “Action:” to “Modify Reference File Attachments”.
- The “Modify Reference File Attachments” dialog box now appears with the “Category” already set to “Attachment Names”. Now, set the “Component:” to “Full Path”. RefManager allows you to change any or all of the components of a reference file path in all of your sheet files at once.
- Change the “Method:” to “Replace Entire String”. (The “From:” field will become inactive.)
- In the “To:” field, enter the full new path that you want to use. It’s okay if the new path only exists on your client’s network.
- Press the (Close) button to return to the main dialog box.
- Press the (Attachments…) button.
- On the “Filter Reference File Attachments By” dialog box, click on “File Name” in the Category list.
- In the “String:” field, enter the names of the reference files whose paths you want to change in your sheets. Put a semi-colon (“;”) between each file name.
Note: This limits the string substitution RefManager is going to perform to only the reference files you specify. This is so you control exactly which attachments get this new path. For example:
Say there are a whole bunch of different reference files attached to your sheet files, and these reference files are all attached using that same path you are going to change. However, you only want to change the path for the attached reference files named “construct.dgn” and “main.bdr”. In the “String:” field, enter:
This way, only “construct.dgn” and “main.bdr” will have their paths changed.
It is also possible to use wildcards in the “String:” field so as to allow a broader range of reference file names to be processed. For example, “main*.*” would find and process files such as: main.dgn, main.bdr, main-border.dg1.
- Press the (Close) button to return to the main RefManager dialog box.
- Use the “Master Files:” field to tell RefManager which sheet files to process. You can use — like “*.— if you like. Or use the button to choose files graphically. You can choose as many files as you want and process them all in one job with RefManager.
- Press to process your files!
- Now — in just — all of the files you are processing will reference “construct.dgn” and “main.bdr” with the new path!