I'm writing this as a reply to the original post instead of replying to one of the sub-posts. What I say will probably refer to multiple threads. Based on everything written here, I would like to make the following suggestion for the official LDraw search path:
The first hit found when searching for files in the above order would be used.
Additionally, it should be noted that many tools add the following two entries to the end of their search path, but they are not part of the LDraw standard:
- 0 FILE references in the currently active MPD. Note: an MPD in this context is any LDraw file that contains 0 FILE lines. "Currently active" in this context means that the files are only visible inside the MPD, and are not visible to any other files.
- The directory containing the top-level model opened by the user. (Note: I think this dates to ldraw.exe. We can decide that it's not a good idea, but I don't personally think we should do that.)
- <LDraw Directory>\p
- <LDraw Directory>\parts
- <LDraw Directory>\models
The first hit found when searching for files in the above order would be used.
Additionally, it should be noted that many tools add the following two entries to the end of their search path, but they are not part of the LDraw standard:
- <LDraw Directory>\Unofficial\p
- <LDraw Directory>\Unofficial\parts