MicroStation Online Demo Tips & Tricks — Replace the reference file paths in all of your sheet files at the same time!



Wednesday, 14 Oct 2009

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.

  1. Load RefManager from your “Axiom” menu in MicroStation.
  2. On the main dialog box, set “Action:” to “Modify Reference File Attachments”.
  3. RefManager has a variety of features, such as “Modify Reference file Attachments”, which allow you to solve any MicroStation reference file problem fast!

  4. The “Modify Reference File Attachments” dialog box now appears with the “Category” already set to “Attachment Names”. Now, set the “Component:” to “Full Path”.
  5. Change the “Method:” to “Replace Entire String”. (The “From:” field will become inactive.)
  6. 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.
  7. RefManager allows you to change any or all of the components of a reference file path in all of your sheet files at once.

  8. Press the (Close) button to return to the main dialog box.
  9. Press the (Attachments…) button.
  10. On the “Filter Reference File Attachments By” dialog box, click on “File Name” in the Category list.
  11. 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.

    The reference file attachment filter allows you to very specifically define which reference file attachments will be modified. This kind of pinpoint accuracy is part of what makes RefManager so powerful.

    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:

    construct.dgn;main.bdr

    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.

  12. Press the (Close) button to return to the main RefManager dialog box.
  13. 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.
  14. Press to process your files!
  15. Now — in just — all of the files you are processing will reference “construct.dgn” and “main.bdr” with the new path!
VN:F [1.8.5_1061]

Did you like this article? Please help us provide the information you need by rating this article.

To rate this article, just click on the stars below. Clicking on one star means, "This article was not helpful". Clicking on all stars means, "This article was very helpful. Write more articles like this!"

Rating: 0.0/10 (0 votes cast)
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
  1. Tips & Tricks — Help! I need to turn off reference file display.
  2. Tips & Tricks — Replace text strings with Global File Changer.
  3. How to use RefManager to enable live nesting in multiple sheet files
  4. Tips & Tricks — Help! I need to turn off reference file display.
  5. Tips & Tricks — How to quickly find any text string (or just about anything else) in all the design files at your entire site

About the Author

MicroStation Today has written 302 stories on this site.

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

Notify me of follow-up comments via email.
Copyright © 1995–2010 Axiom. All rights reserved. Neither Axiom nor MicroStation Today are affiliated with Bentley Systems, Inc. MicroStation is a registered trademark of Bentley Systems, Inc.