Last revised: April 8, 2010Applies to: MicroStation V8i, MicroStation V8 XM Edition, and MicroStation V8 2004 Edition
The download for this utility can be found here.
The application changes reference attachments to use relative attachments.
Place mkrefsrelative.ma in the ..\mdlapps\folder.
Key in: MDL LOAD mkrefsrelative from the Key-in Browser
MDL LOAD mkrefsrelative
from Utilities > MDL Applications > Browse, select mkrefsrelative
The application will scan through your references and bring up a dialog box that will say something like "Change Slot 1 attachment filename from "border.dgn" to "..\borders\border.dgn?" with Yes, No, and Cancel buttons.
Clicking Yes makes the change.
There are two optional command line arguments: mdl load mkrefsrelative -[y|n|h|?] [logfilename] '-n' means do not query for each reference '-y' (or no argument) means query for each reference '-?' or '-h' shows usages message
mdl load mkrefsrelative -n d:\tmp\relative.log
NOTE: It is highlyrecommended to try this on backups of your project to make sure it does what you want.
Please post any questions or comments regarding this utility in the Bentley Library Forum.
© Bentley Systems, Incorporated. All rights reserved. 685 Stockton Drive Exton, PA USA 19341
Bentley, the "B" logo, MicroStation, SELECT, and MDL are either registered or unregistered trademarks or service marks of Bentley Systems, Incorporated, or one of its direct or indirect wholly-owned subsidiaries. Other brands and product names are trademarks of their respective owners.