When MicroStation opens a DGN file, it searches for DGN files that contain attached references as follows:
- If the file specification contains a custom configuration variable, it searches that directory, using the relative path, if any.
- It searches a list of directories which consists of all of the directories for the parent files of the reference. If the reference is attached directly to the master file, the search path consists only of the directory of the master file. If the reference is nested, the path consists of the directories of each parent file, starting with the most deeply nested. The directories searched include the relative path, if any, in the file specification.
- It searches the directories specified by the configuration variable MS_RFDIR, again retaining the relative path, if any, in the file specification.
- It uses the full file specification in the reference attachment, if present.